Skip to content

Commit cf2b133

Browse files
authored
Update dotnet.yml
1 parent 6186a6f commit cf2b133

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@ jobs:
2626

2727
- name: Install Mono
2828
run: |
29-
sudo apt update
30-
sudo apt install -y mono-complete
29+
apt update
30+
apt install -y ca-certificates gnupg
31+
gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
32+
echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | tee /etc/apt/sources.list.d/mono-official-stable.list
33+
apt update
34+
apt install -y mono-complete
3135
3236
- name: Cache NuGet packages
3337
uses: actions/cache@v3

0 commit comments

Comments
 (0)