Skip to content

Commit 210b64c

Browse files
committed
Switch to trusted publishing for PyPI
1 parent 0fc786f commit 210b64c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ jobs:
141141
permissions:
142142
contents: write
143143
discussions: write
144+
id-token: write
144145
steps:
145146
- name: Download wheels
146147
uses: actions/download-artifact@v4
@@ -151,9 +152,6 @@ jobs:
151152

152153
- name: Publish to PyPI
153154
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.13
154-
with:
155-
password: ${{ secrets.PYPI_API_TOKEN }}
156-
packages-dir: dist/
157155

158156
- name: Release
159157
uses: softprops/action-gh-release@e7a8f85e1c67a31e6ed99a94b41bd0b71bbee6b8 # v2.0.9

0 commit comments

Comments
 (0)