Skip to content

Commit f92751a

Browse files
committed
ci: add all needed sdks
1 parent aaafb61 commit f92751a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/publish.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
# Install the .NET SDK indicated in the global.json file
3434
- name: Setup .NET
3535
uses: actions/setup-dotnet@v3
36+
with:
37+
dotnet-version: |
38+
3.1.x
39+
6.0.x
40+
8.0.x
3641
3742
# Create the NuGet package in the folder from the environment variable NuGetDirectory
3843
- run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }}
@@ -73,8 +78,16 @@ jobs:
7378
runs-on: ubuntu-latest
7479
steps:
7580
- uses: actions/checkout@v3
81+
82+
# Install the .NET SDK indicated in the global.json file
7683
- name: Setup .NET
7784
uses: actions/setup-dotnet@v3
85+
with:
86+
dotnet-version: |
87+
3.1.x
88+
6.0.x
89+
8.0.x
90+
7891
- name: Run tests
7992
run: dotnet test --configuration Release
8093

0 commit comments

Comments
 (0)