Skip to content

Commit

Permalink
chore: Add mono install step to GHAs (#442)
Browse files Browse the repository at this point in the history
* chore: Install mono for CI

* chore: change command order

* chore: Only require mono install when using net462

* chore: Install mono in nightly and release GHAs
  • Loading branch information
jonathanedey authored Jan 6, 2025
1 parent 56f4fd9 commit dd78d3b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4


- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x

- name: Install Mono
if: matrix.framework-version == 'net462'
run: |
sudo apt update
sudo apt install -y mono-complete
- name: Install dependencies
run: dotnet restore FirebaseAdmin/FirebaseAdmin.sln

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ jobs:
with:
dotnet-version: 6.0.x

- name: Install Mono
run: |
sudo apt update
sudo apt install -y mono-complete
- name: Install dependencies
run: dotnet restore FirebaseAdmin/FirebaseAdmin.sln

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
with:
dotnet-version: 6.0.x

- name: Install Mono
run: |
sudo apt update
sudo apt install -y mono-complete
- name: Install dependencies
run: dotnet restore FirebaseAdmin/FirebaseAdmin.sln

Expand Down

0 comments on commit dd78d3b

Please sign in to comment.