Skip to content

Commit

Permalink
Prereleases ship only to CI feed
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Sep 3, 2024
1 parent ea92109 commit ac3a8aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: 🚀 nuget
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
if: ${{ env.NUGET_API_KEY != '' && !github.event.release.draft }}
if: ${{ env.NUGET_API_KEY != '' && github.event.action != 'prereleased' }}
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate

- name: 🚀 sleet
Expand Down

0 comments on commit ac3a8aa

Please sign in to comment.