Skip to content

Commit 1ff8082

Browse files
committed
Use PyPI trusted publishing
1 parent c5f7deb commit 1ff8082

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ jobs:
151151
publish:
152152
needs: [build-sdist, build-wheels]
153153
runs-on: ubuntu-latest
154+
permissions:
155+
contents: write
156+
id-token: write
154157

155158
steps:
156159
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
@@ -197,7 +200,4 @@ jobs:
197200
- name: Upload to PyPI
198201
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
199202
with:
200-
user: __token__
201-
password: ${{ secrets.PYPI_TOKEN }}
202-
# password: ${{ secrets.TEST_PYPI_TOKEN }}
203-
# repository_url: https://test.pypi.org/legacy/
203+
verbose: true

0 commit comments

Comments
 (0)