summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/wheel.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/wheel.yml b/.github/workflows/wheel.yml
index 2305008..5f103a3 100644
--- a/.github/workflows/wheel.yml
+++ b/.github/workflows/wheel.yml
@@ -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