Skip to content

Commit ac5e408

Browse files
committed
chore: install mono in workflow
1 parent 39c6880 commit ac5e408

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/PublishNugetPackage.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ jobs:
2222
8.x
2323
9.x
2424
10.x
25+
- name: Install Mono
26+
run: |
27+
sudo apt install ca-certificates gnupg
28+
sudo gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
29+
echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
30+
sudo apt update
31+
sudo apt install -y mono-complete
32+
mono --version
33+
2534
- name: build
2635
run: dotnet build -c Release
2736
- name: test

0 commit comments

Comments
 (0)