Skip to content

Commit a26463e

Browse files
author
Petr Sramek
committed
updated build job to run multiple buiold for net framewrok
1 parent 21bde88 commit a26463e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,20 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515

16+
strategy:
17+
matrix:
18+
netversion: [5, 6, 7, 8, 9]
19+
1620
steps:
1721
- uses: actions/checkout@v3
1822
- name: Setup .NET 9
1923
uses: actions/setup-dotnet@v3
2024
with:
21-
dotnet-version: 9.x
25+
dotnet-version: ${{ matrix.netversion }}.x
2226
- name: Restore
2327
run: dotnet restore
2428
- name: Build
25-
run: dotnet build --no-restore
29+
run: dotnet build --no-restore
2630
- name: Upload
2731
uses: actions/upload-artifact@v4
2832
with:

0 commit comments

Comments
 (0)