diff --git a/.github/workflows/httomo_pypi_publish.yml b/.github/workflows/httomo_pypi_publish.yml index ac6615a01..1ac53d848 100644 --- a/.github/workflows/httomo_pypi_publish.yml +++ b/.github/workflows/httomo_pypi_publish.yml @@ -1,8 +1,10 @@ -name: Upload HTTomo Package to PyPI when Release is Created +name: Upload HTTomo Package to PyPI when `v` is pushed to any branch +# Run the workflow whenever a tag beginning with `v` is pushed to any branch on: - release: - types: [created] + push: + tags: + - v* jobs: pypi-publish: diff --git a/.github/workflows/httomo_version_tag.yml b/.github/workflows/httomo_version_tag.yml index 5ab64c046..3b63c7664 100644 --- a/.github/workflows/httomo_version_tag.yml +++ b/.github/workflows/httomo_version_tag.yml @@ -21,7 +21,7 @@ jobs: fetch-depth: 0 ref: ${{ github.ref_name }} - # setup Python 3.10 + # setup Python 3.11 - name: Setup Python 3.11 uses: actions/setup-python@v4 with: