File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 6767 distribution : ${{ runner.os == 'Windows' && runner.arch == 'ARM64' && 'microsoft' || 'temurin' }}
6868 java-version : ' 11'
6969
70- - name : Install Mono
70+ - name : Install Mono (macOS)
7171 if : runner.os == 'macOS'
7272 shell : bash
7373 # Attempt to install Mono, allowing it to fail silently
7676 brew install mono || true
7777 brew link --overwrite mono
7878
79+ - name : Install Mono (Ubuntu)
80+ if : ${{ runner.os == 'Linux' && !matrix.container }}
81+ shell : bash
82+ run : |
83+ sudo apt install -y mono-devel
84+ # restore perms for actions/setup-dotnet
85+ sudo chmod -R a+rw /usr/share/dotnet
86+
7987 - name : Install .NET SDK
8088 uses : actions/setup-dotnet@v4
8189 with :
Original file line number Diff line number Diff line change 1919 fail-fast : false
2020 matrix :
2121 include :
22- - os : ubuntu-22.04 # Pin ubuntu to ensure mono is installed
22+ - os : ubuntu-22.04
2323 rid : linux-x64
2424 - os : ubuntu-22.04-arm
2525 rid : linux-arm64
8282 fail-fast : false
8383 matrix :
8484 include :
85- - os : ubuntu-22.04 # Pin ubuntu to ensure mono is installed
85+ - os : ubuntu-22.04
8686 rid : linux-x64
8787 slnf : Sentry-CI-Build-Linux.slnf
8888 - os : ubuntu-22.04-arm
You can’t perform that action at this time.
0 commit comments