We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d25cf83 commit 18e9214Copy full SHA for 18e9214
1 file changed
.github/workflows/publish.yml
@@ -67,6 +67,7 @@ jobs:
67
needs: ["build", "provenance"]
68
permissions:
69
contents: write
70
+ id-token: write # Needed for trusted publishing to PyPI.
71
runs-on: "ubuntu-latest"
72
73
steps:
@@ -83,7 +84,4 @@ jobs:
83
84
gh release upload ${{ github.ref_name }} dist/* --repo ${{ github.repository }}
85
86
- name: "Publish dists to PyPI"
- uses: "pypa/gh-action-pypi-publish@37f50c210e3d2f9450da2cd423303d6a14a6e29f"
87
- with:
88
- user: __token__
89
- password: ${{ secrets.PYPI_TOKEN }}
+ uses: "pypa/gh-action-pypi-publish@a56da0b891b3dc519c7ee3284aff1fad93cc8598"
0 commit comments