example: publish to PyPI only on release tag

This commit is contained in:
Marek Otahal
2020-06-01 15:32:51 +02:00
parent add792de30
commit ca49d86ed8
+1
View File
@@ -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__