From 7fb0f7346606a99b3d7a4b507ee49f5d6e14db11 Mon Sep 17 00:00:00 2001 From: Eran Turgeman <81029514+eranturgeman@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:41:37 +0200 Subject: [PATCH] Add Mono download to Ubuntu test env (#803) --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bd0625341..9892ac105 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -108,6 +108,23 @@ jobs: with: dotnet-version: "6.x" + - name: Install NuGet on Linux + uses: nuget/setup-nuget@v2 + with: + nuget-version: 6.11.0 + if: runner.os == 'Linux' + + - name: Install Mono on Linux + run: | + sudo apt-get update + sudo apt-get install -y apt-transport-https dirmngr gnupg ca-certificates + sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF + echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list + sudo apt-get update + sudo apt-get install -y mono-complete + if: runner.os == 'Linux' + shell: 'bash' + - name: Install Pnpm uses: pnpm/action-setup@v3 with: