diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 09bc600..f64aa20 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -2,7 +2,7 @@ name: Upload Python Package to PyPI when a Release is Created on: release: - types: [created] + types: [published] jobs: pypi-publish: @@ -27,4 +27,4 @@ jobs: run: | python -m build - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file + uses: pypa/gh-action-pypi-publish@release/v1