We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebc8745 commit 834dfeaCopy full SHA for 834dfea
1 file changed
.github/workflows/wheels.yml
@@ -63,6 +63,9 @@ jobs:
63
name: Upload if release
64
needs: [build_wheels, build_sdist]
65
runs-on: ubuntu-latest
66
+ permissions:
67
+ # IMPORTANT: this permission is mandatory for Trusted Publishing
68
+ id-token: write
69
if: github.event_name == 'release' && github.event.action == 'published'
70
71
steps:
@@ -75,7 +78,4 @@ jobs:
75
78
pattern: cibw-*
76
79
path: dist
77
80
merge-multiple: true
- - uses: pypa/gh-action-pypi-publish@release/v1
- with:
- user: __token__
81
- password: ${{ secrets.pypi_password }}
+ - uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments