Skip to content

Commit 91736c6

Browse files
committed
chore(ci): switch to trusted PyPI publishing
https://docs.pypi.org/trusted-publishers/
1 parent 44fedf9 commit 91736c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ jobs:
4848
runs-on: ubuntu-latest
4949
permissions:
5050
contents: read
51+
id-token: write
5152
steps:
5253
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5354
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
5455
- uses: casperdcl/deploy-pypi@928e3123266d588b46c017228f9a9d4c13ad4c93 # v2.5.0
5556
with:
56-
password: ${{ secrets.PYPI_TOKEN }}
5757
build: true
5858
# only upload if a tag is pushed (otherwise just build & check)
5959
upload: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }}

0 commit comments

Comments
 (0)