diff --git a/.github/workflows/python-wheels.yml b/.github/workflows/python-wheels.yml index e218a6cc7..cdd5d681e 100644 --- a/.github/workflows/python-wheels.yml +++ b/.github/workflows/python-wheels.yml @@ -128,8 +128,8 @@ jobs: 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'))}} || + (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