diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 5325d32..3ec49d6 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -25,8 +25,8 @@ jobs: python3 setup.py sdist - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: - skip_existing: true - password: ${{ secrets.PYPI_API_TOKEN }} + skip-existing: true + password: ${{ secrets.PYPI_GITHUB_TOKEN }}