Skip to content

Commit 5630a6f

Browse files
chore: Install .NET Core SDKs explicitly
.NET Core 2.1 is no longer present by default. Until we plan on moving to netcoreapp3.1, installing the obsolete version in nightly builds.
1 parent b635369 commit 5630a6f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/nightly.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
jobs:
2626
nightly:
2727

28-
runs-on: windows-latest
28+
runs-on: ubuntu-latest
2929

3030
env:
3131
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
@@ -37,10 +37,15 @@ jobs:
3737
with:
3838
ref: ${{ github.event.client_payload.ref || github.ref }}
3939

40-
- name: Setup .NET Core
40+
- name: Setup .NET Core 2.1
4141
uses: actions/setup-dotnet@v1
4242
with:
43-
dotnet-version: 2.2.108
43+
dotnet-version: 2.1.x
44+
45+
- name: Setup .NET Core 3.1
46+
uses: actions/setup-dotnet@v1
47+
with:
48+
dotnet-version: 3.1.x
4449

4550
- name: Build with dotnet
4651
run: dotnet build FirebaseAdmin/FirebaseAdmin

0 commit comments

Comments
 (0)