Skip to content

Commit 4c70f67

Browse files
committed
Try a push just for this branch?
1 parent af06d04 commit 4c70f67

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pip.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ name: Build PyPI package
66

77
on:
88
push:
9-
branches: [ main, build/pip-packaging ]
9+
branches: [ main, release/*.x ]
1010
release:
11+
types: [ published ]
1112

1213
env:
1314
# TODO: detect this from repo somehow: https://github.com/halide/Halide/issues/8406
@@ -255,4 +256,4 @@ jobs:
255256
repository-url: https://test.pypi.org/legacy/
256257

257258
- uses: pypa/gh-action-pypi-publish@release/v1
258-
if: github.event_name == 'release'
259+
if: github.event_name == 'release' && github.event.action == 'published'

0 commit comments

Comments
 (0)