We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2565fb8 commit a1fddbbCopy full SHA for a1fddbb
1 file changed
.github/workflows/release.yml
@@ -48,14 +48,15 @@ jobs:
48
upload_pypi:
49
needs: [build_artifacts]
50
runs-on: ubuntu-latest
51
+ environment: pypi
52
+ permissions:
53
+ # IMPORTANT: this permission is mandatory for Trusted Publishing
54
+ id-token: write
55
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
56
steps:
57
- uses: actions/download-artifact@v4
58
with:
59
name: releases
60
path: dist
- - uses: pypa/gh-action-pypi-publish@v1.12.4
- with:
- user: __token__
- password: ${{ secrets.pypi_password }}
61
- # To test: repository_url: https://test.pypi.org/legacy/
+ - name: Publish package distributions to PyPI
62
+ uses: pypa/gh-action-pypi-publish@v1.12.4
0 commit comments