We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af06d04 commit 4c70f67Copy full SHA for 4c70f67
.github/workflows/pip.yml
@@ -6,8 +6,9 @@ name: Build PyPI package
6
7
on:
8
push:
9
- branches: [ main, build/pip-packaging ]
+ branches: [ main, release/*.x ]
10
release:
11
+ types: [ published ]
12
13
env:
14
# TODO: detect this from repo somehow: https://github.com/halide/Halide/issues/8406
@@ -255,4 +256,4 @@ jobs:
255
256
repository-url: https://test.pypi.org/legacy/
257
258
- uses: pypa/gh-action-pypi-publish@release/v1
- if: github.event_name == 'release'
259
+ if: github.event_name == 'release' && github.event.action == 'published'
0 commit comments