diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a88ce8b..6ebcae8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,11 +38,6 @@ jobs: needs: - build runs-on: ubuntu-latest - environment: - name: pypi - url: https://pypi.org/p/cat-python - permissions: - id-token: write # IMPORTANT: mandatory for trusted publishing steps: - name: Download all the dists @@ -52,3 +47,6 @@ jobs: path: dist/ - name: Publish distribution package to PyPI uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }} + repository-url: https://upload.pypi.org/legacy/