Skip to content

Commit

Permalink
Fix ChoreoLib Python wheel download (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul authored Jul 10, 2024
1 parent 73b7cd4 commit 6645385
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/choreolib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ jobs:
name: Upload release to PyPI
runs-on: ubuntu-24.04
needs: [build-python]
if: github.repository_owner == 'SleipnirGroup' && github.ref == 'refs/heads/main'
if: github.repository_owner == 'SleipnirGroup' && startsWith(github.ref, 'refs/tags/v')
environment:
name: pypi
url: https://pypi.org/p/sleipnirgroup-choreolib
Expand All @@ -196,5 +196,6 @@ jobs:
with:
path: dist
pattern: "Python"
merge-multiple: true
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 6645385

Please sign in to comment.