diff --git a/.github/workflows/distribution.yml b/.github/workflows/distribution.yml index 66a618f..2faa7ba 100644 --- a/.github/workflows/distribution.yml +++ b/.github/workflows/distribution.yml @@ -56,13 +56,13 @@ jobs: mv artifact/* dist/ - name: Publish distribution 📦 to Test PyPI if: github.event_name == 'push' && github.ref == 'refs/heads/master' - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.test_pypi_password }} repository_url: https://test.pypi.org/legacy/ skip_existing: true - name: Publish distribution 📦 to PyPI if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.pypi_password }}