From 7173f5201a2842a0d8a30853f189488e8b77ddfd Mon Sep 17 00:00:00 2001 From: Matthieu Tristram Date: Tue, 19 Sep 2023 18:07:42 +0200 Subject: [PATCH] change wheels for releases rather than tag --- .github/workflows/wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index dd77c28..2f80fa4 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -29,9 +29,9 @@ jobs: needs: [build_dist] runs-on: ubuntu-latest # upload to PyPI on every tag starting with 'v' - if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') + # if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') # alternatively, to publish when a GitHub Release is created, use the following rule: - # if: github.event_name == 'release' && github.event.action == 'published' + if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@v3 with: