Skip to content

Commit

Permalink
Revert "Try again uv for uploading to TestPyPI"
Browse files Browse the repository at this point in the history
This reverts commit 555abf5.
  • Loading branch information
fepegar committed Dec 5, 2024
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
Expand Up @@ -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')
Expand Down

0 comments on commit 32f169d

Please sign in to comment.