Skip to content

Commit 59a7335

Browse files
author
Petr Sramek
committed
updated
1 parent 2d7843a commit 59a7335

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/dotnet.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,23 @@ on:
1212
jobs:
1313
build:
1414
name: Build with .NET ${{ matrix.netversion }}
15+
16+
strategy:
17+
matrix:
18+
netversion: [7, 8, 9]
19+
1520
runs-on: ubuntu-latest
1621

1722
steps:
1823
- uses: actions/checkout@v3
19-
- name: Setup .NET 9
24+
- name: Setup .NET ${{ matrix.netversion }}
2025
uses: actions/setup-dotnet@v3
2126
with:
22-
dotnet-version: 9.x
27+
dotnet-version: ${{ matrix.netversion }}.x
2328
- name: Restore
2429
run: dotnet restore
2530
- name: Build
26-
run: dotnet build --no-restore
31+
run: dotnet build --no-restore --framework ${{ matrix.netversion }}.0
2732
- name: Upload
2833
uses: actions/upload-artifact@v4
2934
with:

0 commit comments

Comments
 (0)