diff --git a/.github/workflows/python-publish-to-pip.yml b/.github/workflows/python-publish-to-pip.yml index 4c45fb9d..c95a1ce5 100644 --- a/.github/workflows/python-publish-to-pip.yml +++ b/.github/workflows/python-publish-to-pip.yml @@ -38,6 +38,7 @@ jobs: poetry build --format wheel - name: Upload Assets uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: files: | dist/*.whl