diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8625d8b..d3d0011 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -88,14 +88,14 @@ jobs: - name: Publish distribution 📦 to PyPI if Release if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: ${{ secrets.PYPI_USER }} password: ${{ secrets.PYPI_PASSWORD }} skip_existing: true - name: Publish distribution 📦 to Test PyPI if Push - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: ${{ secrets.TEST_PYPI_USER }} password: ${{ secrets.TEST_PYPI_PASSWORD }}