File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,17 +5,20 @@ on: [push, pull_request]
55jobs :
66 build :
77 runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ dotnet-version : [8.x]
811
912 steps :
1013 - name : Checkout
11- uses : actions/checkout@v2
14+ uses : actions/checkout@v4
1215 with :
1316 fetch-depth : 0
14-
17+
1518 - name : Setup Dotnet
16- uses : actions/setup-dotnet@v1
19+ uses : actions/setup-dotnet@v4
1720 with :
18- dotnet-version : 8.0.x
21+ dotnet-version : ${{ matrix.dotnet-version }}
1922
2023 - name : Install GitVersion
2124 uses : gittools/actions/gitversion/setup@v1.1.1
3437 - name : Publish
3538 if : github.event_name != 'pull_request' && (github.ref_name == 'master')
3639 run : |
37- dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' --skip-duplicate -k ${{ secrets.NUGETKEY }} --no-symbols 1
40+ dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' -k ${{ secrets.NUGETKEY }} --skip-duplicate
41+ dotnet nuget push **/*.snupkg --source 'https://api.nuget.org/v3/index.json' -k ${{ secrets.NUGETKEY }} --skip-duplicate
You can’t perform that action at this time.
0 commit comments