Skip to content

Commit 7bc76f0

Browse files
committed
use uv for publishing configured with test PyPI
1 parent cab5638 commit 7bc76f0

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
permissions:
1212
id-token: write
13-
contents: write
14-
environment:
15-
name: pypi
16-
url: https://pypi.org/p/template-python
13+
environment: pypi
1714
steps:
1815
- uses: actions/checkout@v4
1916
with:
@@ -29,4 +26,4 @@ jobs:
2926
with:
3027
files: dist/*
3128
tag_name: ${{ github.event.release.tag_name }}
32-
- uses: pypa/gh-action-pypi-publish@release/v1
29+
- run: uv publish --trusted-publishing always --publish-url https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)