From 3e8b908ca0f7e90c89cd57f57729353ddc8ca5e4 Mon Sep 17 00:00:00 2001 From: Agustin Borgna Date: Fri, 7 Jun 2024 14:08:39 +0100 Subject: [PATCH] ci: Fix release wheels if condition --- .github/workflows/python-wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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