Skip to content

Commit b717353

Browse files
fstaffaFilip Staffa
andcommitted
publish only on release (#84)
Co-authored-by: Filip Staffa <[email protected]>
1 parent 848a528 commit b717353

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)