Skip to content

Commit 83071ac

Browse files
committed
Add publish task
1 parent 5349144 commit 83071ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ jobs:
2525
fail_on_unmatched_files: true
2626
files: |
2727
out/*.nupkg
28+
- name: Publish to nuget.org
29+
if: startsWith(github.ref, 'refs/tags/v')
30+
run: dotnet nuget push out/*.nupkg --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)