Skip to content

Commit 56dccc1

Browse files
committed
Install mono to support Framework tests on Linux
1 parent 204f40b commit 56dccc1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ jobs:
3232
uses: gittools/actions/gitversion/execute@v0.9.7
3333
- name: Restore dependencies
3434
run: dotnet restore
35+
- name: Install Mono (Linux only)
36+
if: runner.os == 'Linux'
37+
run: |
38+
sudo apt-get update
39+
sudo apt-get install -y mono-devel
40+
mono --version
3541
- name: Build
3642
run: dotnet build --configuration Release --no-restore
3743
- name: Test

0 commit comments

Comments
 (0)