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 <fstaffa@cimpress.com>
  • Loading branch information
fstaffa and Filip Staffa authored Jan 19, 2024
1 parent 3a0c67b commit b5b457f
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 b5b457f

Please sign in to comment.