Skip to content
This repository was archived by the owner on Jun 21, 2025. It is now read-only.

Commit 9b1a1e8

Browse files
committed
chore(ci): use API token for uv publish
1 parent b432d40 commit 9b1a1e8

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ jobs:
99
publish:
1010
name: Publish to PyPI
1111
runs-on: ubuntu-latest
12-
permissions:
13-
id-token: write # Required for trusted publishing
1412

1513
steps:
1614
- uses: actions/checkout@v4
@@ -28,6 +26,7 @@ jobs:
2826
run: uv build
2927

3028
- name: Publish to PyPI
31-
# Use GitHub Actions OIDC token for trusted publishing
32-
# https://docs.astral.sh/uv/guides/package/#publishing-your-package
29+
env:
30+
# Use the existing PyPI API token secret
31+
UV_PUBLISH_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
3332
run: uv publish dist/*

0 commit comments

Comments
 (0)