Skip to content

Commit f095902

Browse files
committed
Update release.yml to use api_token
1 parent 4aab559 commit f095902

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

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

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

1211
jobs:
1312
deploy:
@@ -58,7 +57,7 @@ jobs:
5857
if: ${{github.event_name == 'workflow_dispatch'}}
5958
shell: bash
6059
env:
61-
UV_PUBLISH_URL: https://test.pypi.org/legacy/
60+
UV_PUBLISH_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
6261
run: |
6362
set -eux
64-
uv publish --publish-url https://test.pypi.org/legacy/ --trusted-publishing always
63+
uv publish --publish-url https://test.pypi.org/legacy/ --token $UV_PUBLISH_TOKEN

0 commit comments

Comments
 (0)