Skip to content

Commit

Permalink
Try tagged commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fepegar committed Dec 5, 2024
1 parent 32f169d commit 0a73860
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@ jobs:
repository-url: https://test.pypi.org/legacy/
skip-existing: true

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

- name: Publish package to PyPI if commit is tagged
# Publish only tagged commits
if: startsWith(github.ref, 'refs/tags')
run: uv publish --verbose
# run: uv publish --verbose
run: echo "uv publish --verbose"

0 comments on commit 0a73860

Please sign in to comment.