From 66453855dcae4b66f911dce433ad801cb775baa1 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Tue, 9 Jul 2024 22:01:07 -0700 Subject: [PATCH] Fix ChoreoLib Python wheel download (#521) --- .github/workflows/choreolib.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/choreolib.yml b/.github/workflows/choreolib.yml index f48f24d89..ec1e09029 100644 --- a/.github/workflows/choreolib.yml +++ b/.github/workflows/choreolib.yml @@ -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 @@ -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