Skip to content

Commit 3552b16

Browse files
committed
multiple dotnet versions fix
1 parent 2a1c43c commit 3552b16

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,18 @@ on:
1212
jobs:
1313
build:
1414
runs-on: windows-latest
15+
strategy:
16+
matrix:
17+
dotnet-version: ['3.1.x', '6.0.x']
1518

1619
steps:
1720
- name: Checkout code
1821
uses: actions/checkout@v4
1922

20-
- name: Setup .NET
23+
- name: Setup dotnet ${{ matrix.dotnet-version }}
2124
uses: actions/setup-dotnet@v4
2225
with:
23-
dotnet-version: ["3.1.x", "8.0.x"]
26+
dotnet-version: ${{ matrix.dotnet-version }}
2427

2528
- name: Restore dependencies
2629
run: dotnet restore Src/FluentAssertionsToShouldlyAnalyzer.sln

0 commit comments

Comments
 (0)