diff --git a/.github/workflows/python_publish.yml b/.github/workflows/python_publish.yml index df7bee6f..454a4a77 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@15c56dba361d8335944d31a2ecd17d700fc7bcbc + uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 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@15c56dba361d8335944d31a2ecd17d700fc7bcbc + uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 with: user: __token__ password: ${{ secrets.PYPI_PUBLISH_PASSWORD }}