Skip to content

Commit aa9ce3e

Browse files
committed
Action: Run publish on tag creation.
1 parent dcb7750 commit aa9ce3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/wheel.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
name: Wheels
5050
path: wheelhouse
5151

52-
- name: Publish Wheels to TestPyPI
53-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
52+
- name: Publish Wheels to PyPI
53+
if: github.event_name == 'create' && github.event.ref_type == 'tag'
5454
uses: pypa/gh-action-pypi-publish@release/v1
5555
with:
5656
packages_dir: wheelhouse

0 commit comments

Comments
 (0)