Action: Run publish on tag creation.

This commit is contained in:
Inada Naoki 2022-06-03 14:37:21 +09:00
parent dcb775031c
commit aa9ce3e2bb

View file

@ -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