Skip to content

Commit d2b5c42

Browse files
committed
fix(ci): uv publish command
Signed-off-by: Fatih Acar <[email protected]>
1 parent dc79402 commit d2b5c42

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ jobs:
6262
run: uv sync --all-groups --all-extras
6363
if: steps.cached-uv-dependencies.outputs.cache-hit != 'true'
6464

65-
- name: Add PyPI secret
66-
run: uv config token pypi ${{ secrets.PYPI_TOKEN }}
67-
6865
- name: Build package
6966
run: uv build
7067

@@ -73,4 +70,6 @@ jobs:
7370

7471
- name: Publish to PyPI
7572
if: ${{ inputs.publish }}
73+
env:
74+
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
7675
run: uv publish

0 commit comments

Comments
 (0)