Skip to content

Commit cae930f

Browse files
committed
Add .NET {8, 9, 10} to the CI explicitly
1 parent a6cdd99 commit cae930f

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ jobs:
3131
- name: Setup .NET Core
3232
uses: actions/setup-dotnet@v5
3333
with:
34-
dotnet-version: 10.x
34+
dotnet-version: |
35+
8.x
36+
9.x
37+
10.x
3538
- name: Restore
3639
run: dotnet restore
3740
- name: Build
@@ -47,7 +50,10 @@ jobs:
4750
- name: Setup .NET Core
4851
uses: actions/setup-dotnet@v5
4952
with:
50-
dotnet-version: 10.x
53+
dotnet-version: |
54+
8.x
55+
9.x
56+
10.x
5157
- name: Restore tools
5258
run: dotnet tool restore
5359
- name: Build solution

.github/workflows/publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ jobs:
3333
- name: Setup .NET Core
3434
uses: actions/setup-dotnet@v5
3535
with:
36-
dotnet-version: 10.x
36+
dotnet-version: |
37+
8.x
38+
9.x
39+
10.x
3740
- name: Restore
3841
run: dotnet restore
3942
- name: Build
@@ -50,7 +53,10 @@ jobs:
5053
- name: Setup .NET Core
5154
uses: actions/setup-dotnet@v5
5255
with:
53-
dotnet-version: 10.x
56+
dotnet-version: |
57+
8.x
58+
9.x
59+
10.x
5460
- name: Create Release NuGet package
5561
run: |
5662
arrTag=(${GITHUB_REF//\// })

0 commit comments

Comments
 (0)