Update python-publish.yml

This commit is contained in:
Gilles Boccon-Gibod
2022-08-04 14:40:40 -07:00
committed by GitHub
parent 900c15b151
commit 938282e961

View File

@@ -30,7 +30,7 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__