Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/integrationTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,26 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

# Prepare ubuntu by installing Mono and handle dotnet installation issues.
- name: Prepare ubuntu
if: matrix.os == 'ubuntu-latest'
run: |
# Install Mono
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
# Fixes dotnet installation issues, see https://github.com/jfrog/jfrog-cli/pull/2808 for more details.
echo "DOTNET_INSTALL_DIR=/usr/share/dotnet" >> $GITHUB_ENV
sudo mkdir -p /usr/share/dotnet
sudo chmod 777 /usr/share/dotnet

- name: Install dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: "3.x"
dotnet-version: "6.x"

- name: Install NuGet
uses: nuget/setup-nuget@v2
Expand Down
Loading