diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 3c9d630..8fdd22a 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -48,7 +48,7 @@ jobs: runs-on: ubuntu-latest # upload to PyPI on every release - if: github.event.type == 'ReleaseEvent' + if: github.event.release && github.event.action == 'published' steps: - uses: actions/download-artifact@v3 with: