Skip to content

Commit c9a4187

Browse files
committed
A few more tweaks.
1 parent 9d0b1a9 commit c9a4187

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,20 @@ on: [push, pull_request]
55
jobs:
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
@@ -34,4 +37,5 @@ jobs:
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

0 commit comments

Comments
 (0)