Skip to content

Commit 5bb4776

Browse files
committed
Use uv instead of pypa/gh-action-pypi-publish
1 parent b59e029 commit 5bb4776

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,7 @@ jobs:
3333
run: uv build --sdist --wheel --out-dir dist/
3434

3535
- name: Publish distribution to Test PyPI
36-
uses: pypa/gh-action-pypi-publish@release/v1
37-
with:
38-
repository_url: https://test.pypi.org/legacy/
39-
# The pypa/gh-action-pypi-publish action sources attestations from the
40-
# same source, so leaving attestations enabled (the default behavior)
41-
# for both steps will cause the production PyPI step to fail; however,
42-
# disabling attestations on the test PyPI step should allow the
43-
# production PyPI step to succeed
44-
attestations: false
36+
run: uv publish --publish-url https://test.pypi.org/legacy/
4537

4638
- name: Publish distribution to PyPI
47-
uses: pypa/gh-action-pypi-publish@release/v1
48-
with:
49-
repository_url: https://upload.pypi.org/legacy/
39+
run: uv publish

0 commit comments

Comments
 (0)