Skip to content

Commit 4aab559

Browse files
committed
Update release yml for trusted publisher
1 parent 175a5d3 commit 4aab559

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
permissions:
99
contents: read
10+
id-token: write # For Trusted Publisher
1011

1112
jobs:
1213
deploy:
@@ -57,8 +58,7 @@ jobs:
5758
if: ${{github.event_name == 'workflow_dispatch'}}
5859
shell: bash
5960
env:
60-
UV_PUBLISH_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
6161
UV_PUBLISH_URL: https://test.pypi.org/legacy/
6262
run: |
6363
set -eux
64-
uv publish --publish-url https://test.pypi.org/legacy/
64+
uv publish --publish-url https://test.pypi.org/legacy/ --trusted-publishing always

0 commit comments

Comments
 (0)