From 64069cb77f3469e0aefd1e8a3b1cce00c0a4c1ce Mon Sep 17 00:00:00 2001 From: dkazanc Date: Fri, 25 Oct 2024 09:48:06 +0100 Subject: [PATCH] unifications of CI buils for Pypi and conda --- .github/workflows/httomo_pypi_publish.yml | 8 +++++--- .github/workflows/httomo_version_tag.yml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) 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: