Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Try again uv for uploading to TestPyPI"
Browse files Browse the repository at this point in the history
This reverts commit 555abf5.
fepegar committed Dec 5, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent cd8c22d commit 32f169d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -39,16 +39,16 @@ jobs:
name: dist
path: dist

- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
skip-existing: true

- name: Install uv
if: startsWith(github.ref, 'refs/tags')
uses: astral-sh/setup-uv@v4

- name: Publish package to TestPyPI
run: |
uv publish \
--check-url https://test.pypi.org/simple \
--publish-url https://test.pypi.org/legacy \
--verbose
- name: Publish package to PyPI if commit is tagged
# Publish only tagged commits
if: startsWith(github.ref, 'refs/tags')

0 comments on commit 32f169d

Please sign in to comment.