We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 973fd7c + 86e6c49 commit 2d33b01Copy full SHA for 2d33b01
1 file changed
.github/workflows/publish.yml
@@ -36,6 +36,8 @@ jobs:
36
name: "Deploy package to PyPI"
37
runs-on: ubuntu-latest
38
needs: [build]
39
+ permissions:
40
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
41
42
steps:
43
- uses: actions/checkout@v4
@@ -55,9 +57,7 @@ jobs:
55
57
run: uv build
56
58
59
- name: Publish to PyPI
- env:
- PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
60
- run: uv publish --token $PYPI_TOKEN
+ uses: pypa/gh-action-pypi-publish@release/v1
61
62
docs:
63
name: "Deploy Docs"
0 commit comments