Skip to content

Commit 968f8b0

Browse files
committed
Tests - Install Mono on Ubuntu to run nuget.exe
1 parent 6bbc761 commit 968f8b0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,17 @@ jobs:
3838
with:
3939
dotnet-version: '6.x'
4040

41-
41+
# Install Mono on Ubuntu to run nuget.exe
42+
- name: Install Mono on Ubuntu
43+
if: matrix.os == 'ubuntu'
44+
run: |
45+
sudo apt-get update
46+
sudo apt-get install -y apt-transport-https dirmngr gnupg ca-certificates
47+
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
48+
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
49+
sudo apt-get update
50+
sudo apt-get install -y mono-complete
51+
4252
- name: Setup Go with cache
4353
uses: jfrog/.github/actions/install-go-with-cache@main
4454

0 commit comments

Comments
 (0)