Skip to content

Commit

Permalink
Don't attempt to push to nuget.org without a key
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu authored Jul 9, 2024
1 parent 65f89e0 commit d11c4dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,7 @@ jobs:
path: '*.binlog'

- name: 🚀 nuget
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
if: env.NUGET_API_KEY != ''
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate

0 comments on commit d11c4dc

Please sign in to comment.