example: publish to PyPI only on release tag
This commit is contained in:
@@ -37,6 +37,7 @@ jobs:
|
||||
path: ./wheelhouse
|
||||
|
||||
- name: Publish to PyPI
|
||||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
|
||||
uses: pypa/gh-action-pypi-publish@master #see https://github.com/pypa/gh-action-pypi-publish for setup
|
||||
with:
|
||||
user: __token__
|
||||
|
||||
Reference in New Issue
Block a user