Skip to content

Commit

Permalink
Action: Run publish on tag creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Mar 8, 2023
1 parent dcb7750 commit aa9ce3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
name: Wheels
path: wheelhouse

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

0 comments on commit aa9ce3e

Please sign in to comment.