Skip to content

Commit 2ce9269

Browse files
committed
Only push to nuget.org when release is published
This is not triggered for draft releases, see https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#release.
1 parent 75e514c commit 2ce9269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: release
22
on:
33
release:
4-
types: [created]
4+
types: [published]
55

66
env:
77
DOTNET_NOLOGO: true

0 commit comments

Comments
 (0)