Skip to content

Commit 04b6fca

Browse files
committed
Changed trusted workflows to tokens.
1 parent 5a8ab0e commit 04b6fca

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
enable-cache: false
2222
python-version: "3.12"
2323
version: "latest"
24-
- run: uv version "${GITHUB_REF_NAME}"
25-
- run: uv build
26-
- run: uv publish --trusted-publishing always
24+
- name: Publish
25+
env:
26+
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
27+
run: |
28+
uv version "${GITHUB_REF_NAME}"
29+
uv build
30+
uv publish

0 commit comments

Comments
 (0)