Skip to content

Commit 6e72815

Browse files
author
Filip Staffa
committed
publish only on release
1 parent 3a0c67b commit 6e72815

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@ jobs:
4545
run: dotnet-validate package local out/*.nupkg
4646

4747
- name: Publish
48+
if: github.event_name == 'release'
4849
run: |
4950
dotnet nuget push out/PostalCodes.${{ env.VERSION }}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)