diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml index 2340d95..05b3d7d 100644 --- a/.github/workflows/python-build.yml +++ b/.github/workflows/python-build.yml @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-latest needs: - build - if: github.event_name == 'push' + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') environment: name: pypi url: https://pypi.org/p/data-formulator