diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4804fc0d..36de075e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,7 +1,7 @@ name: Upload Python Package to PyPI when a Release is Created -with: - oidc: false - password: ${{ secrets.PYPI_API_TOKEN }} # gets ignored if oidc is true +uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }} on: release: