Skip to content

Commit 1bc8187

Browse files
Change trigger type for PyPI publish action (#311)
Change trigger type for PyPI publish action released reacts only to stable releases, prereleased reacts to pre-releases, but not those converted from draft, published reacts to both. Reviewed-by: František Lachman <[email protected]> Reviewed-by: Maja Massarini
2 parents 98a85b7 + babf6b0 commit 1bc8187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Publish Python 🐍 distributions 📦 to PyPI
55

66
on:
77
release:
8-
types: [released]
8+
types: [published]
99

1010
jobs:
1111
build-n-publish:

0 commit comments

Comments
 (0)