We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c74083c commit 301dca2Copy full SHA for 301dca2
1 file changed
.github/workflows/release.yml
@@ -27,6 +27,9 @@ jobs:
27
needs: [dist]
28
runs-on: ubuntu-latest
29
if: github.event_name == 'release' && github.event.action == 'published'
30
+ environment: pypi
31
+ permissions:
32
+ id-token: write
33
34
steps:
35
- uses: actions/download-artifact@v3
@@ -35,6 +38,3 @@ jobs:
38
path: dist
36
39
37
40
- uses: pypa/gh-action-pypi-publish@release/v1
- with:
- user: __token__
- password: ${{ secrets.pypi_password }}
0 commit comments