diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f35e32c..ce25cf46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 9db67570..7fe0aa38 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6bc5578e..12d6933a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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