diff --git a/.github/workflows/python_publish.yml b/.github/workflows/python_publish.yml index e4d430c5..df7bee6f 100644 --- a/.github/workflows/python_publish.yml +++ b/.github/workflows/python_publish.yml @@ -55,13 +55,13 @@ jobs: - name: Build package run: python -m build - name: Publish distribution to Test PyPI - uses: pypa/gh-action-pypi-publish@61da13deb5f5124fb1536194f82ed3d9bbc7e8f3 + uses: pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc with: password: ${{ secrets.TESTPYPI_PUBLISH_PASSWORD }} repository_url: https://test.pypi.org/legacy/ - name: Publish package to PyPI if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@61da13deb5f5124fb1536194f82ed3d9bbc7e8f3 + uses: pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc with: user: __token__ password: ${{ secrets.PYPI_PUBLISH_PASSWORD }}