Skip to content

Commit ac2fc94

Browse files
committed
Make sure the release actually runs?
1 parent 4c70f67 commit ac2fc94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pip.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -256,4 +256,6 @@ jobs:
256256
repository-url: https://test.pypi.org/legacy/
257257

258258
- uses: pypa/gh-action-pypi-publish@release/v1
259-
if: github.event_name == 'release' && github.event.action == 'published'
259+
if: >
260+
github.event_name == 'release' && github.event.action == 'published' ||
261+
github.event_name == 'push' && (github.ref_name == 'release/19.x' || github.ref_name == 'v19.0.0')

0 commit comments

Comments
 (0)