Skip to content

Commit

Permalink
publish only on release
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Staffa committed Jan 19, 2024
1 parent 3a0c67b commit 6e72815
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 6e72815

Please sign in to comment.