diff --git a/.github/workflows/python-wheels.yml b/.github/workflows/python-wheels.yml index e218a6cc..3ba5b882 100644 --- a/.github/workflows/python-wheels.yml +++ b/.github/workflows/python-wheels.yml @@ -127,9 +127,7 @@ jobs: release: name: Release runs-on: ubuntu-latest - if: | - ${{ (github.event_name == 'release' && github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/tket2-py-v'))}} || - ${{ (github.event_name == 'workflow_dispatch' && github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/tket2-py-v'))}} || + if: ${{ (github.event_name == 'release' && github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/tket2-py-v') ) || (github.event_name == 'workflow_dispatch' && github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/tket2-py-v') ) }} needs: [linux, windows, macos, sdist] steps: - uses: actions/download-artifact@v4