Skip to content

Commit ac3a8aa

Browse files
committed
Prereleases ship only to CI feed
1 parent ea92109 commit ac3a8aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: 🚀 nuget
4545
env:
4646
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
47-
if: ${{ env.NUGET_API_KEY != '' && !github.event.release.draft }}
47+
if: ${{ env.NUGET_API_KEY != '' && github.event.action != 'prereleased' }}
4848
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
4949

5050
- name: 🚀 sleet

0 commit comments

Comments
 (0)