Skip to content

Commit 56f642b

Browse files
committed
fix: use token instead of trusted publishers
1 parent 6454070 commit 56f642b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ on:
88
jobs:
99
deploy:
1010
runs-on: ubuntu-latest
11-
environment:
12-
name: release
1311
permissions:
1412
id-token: write
1513
steps:
@@ -23,4 +21,7 @@ jobs:
2321
version: "latest"
2422
- run: uv version "${GITHUB_REF_NAME}"
2523
- run: uv build
26-
- run: uv publish --trusted-publishing always
24+
- name: Release package
25+
env:
26+
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
27+
run: uv publish

0 commit comments

Comments
 (0)