Skip to content

Commit

Permalink
Revert using uv for TestPyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
fepegar committed Dec 5, 2024
1 parent 2d881cc commit f9f8b08
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +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 --publish-url https://test.pypi.org/legacy/

- 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 f9f8b08

Please sign in to comment.