Skip to content

Commit

Permalink
publish only on release (#84)
Browse files Browse the repository at this point in the history
Co-authored-by: Filip Staffa <[email protected]>
  • Loading branch information
fstaffa and Filip Staffa committed Jan 19, 2024
1 parent 848a528 commit b717353
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@ jobs:
run: dotnet-validate package local out/*.nupkg

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

0 comments on commit b717353

Please sign in to comment.