From f735320ef444cd91d2d230b92279f0965beb3777 Mon Sep 17 00:00:00 2001 From: Michael Rapp Date: Mon, 16 Dec 2024 23:11:48 +0100 Subject: [PATCH 1/3] Revert "Update GitHub Actions." This reverts commit c45b5a0f2b531f847d50a9cb342ce46dc4e4dc19. --- .github/workflows/template_publish_non_native.yml | 2 +- .github/workflows/template_publish_platform.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/template_publish_non_native.yml b/.github/workflows/template_publish_non_native.yml index 6aa2730ad5..719ff1fc28 100644 --- a/.github/workflows/template_publish_non_native.yml +++ b/.github/workflows/template_publish_non_native.yml @@ -40,7 +40,7 @@ jobs: with: platforms: all - name: Build package - uses: pypa/cibuildwheel@v2.22 + uses: pypa/cibuildwheel@v2.17 env: CIBW_BEFORE_BUILD_LINUX: ./build --clean && SUBPROJECTS=${{ inputs.subproject }} TEST_SUPPORT=disabled GPU_SUPPORT=disabled ./build install diff --git a/.github/workflows/template_publish_platform.yml b/.github/workflows/template_publish_platform.yml index e96c2386c8..b000b494b5 100644 --- a/.github/workflows/template_publish_platform.yml +++ b/.github/workflows/template_publish_platform.yml @@ -46,7 +46,7 @@ jobs: if: ${{ matrix.os == 'windows-latest' }} uses: ilammy/msvc-dev-cmd@v1 - name: Build package - uses: pypa/cibuildwheel@v2.22 + uses: pypa/cibuildwheel@v2.17 env: CIBW_BEFORE_BUILD_LINUX: ./build --clean && SUBPROJECTS=${{ inputs.subproject }} TEST_SUPPORT=disabled GPU_SUPPORT=disabled ./build install From 149cf8028c07950817ed51ac8f90736ec556328f Mon Sep 17 00:00:00 2001 From: Michael Rapp Date: Mon, 16 Dec 2024 23:14:06 +0100 Subject: [PATCH 2/3] Let workflow fail if nested jobs were canceled. --- .github/workflows/test_publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_publish.yml b/.github/workflows/test_publish.yml index 1dec1fbc8d..622edb2711 100644 --- a/.github/workflows/test_publish.yml +++ b/.github/workflows/test_publish.yml @@ -67,6 +67,6 @@ jobs: steps: - name: Check for success run: |- - if [[ "${{ needs.test_release.result }}" == "failure" ]]; then + if [[ "${{ needs.test_release.result }}" != "success" ]]; then exit 1 fi From 6f6c45c5dbe0febe65cef9b7ead9fc1c8b2b7f9b Mon Sep 17 00:00:00 2001 From: Michael Rapp Date: Mon, 16 Dec 2024 23:21:10 +0100 Subject: [PATCH 3/3] Do not skip all jobs in a matrix if one of them fails. --- .github/workflows/template_publish_non_native.yml | 1 + .github/workflows/template_publish_platform.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/template_publish_non_native.yml b/.github/workflows/template_publish_non_native.yml index 719ff1fc28..b3d10083a1 100644 --- a/.github/workflows/template_publish_non_native.yml +++ b/.github/workflows/template_publish_non_native.yml @@ -25,6 +25,7 @@ jobs: name: Publish non-native platform wheels runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: - ubuntu-latest diff --git a/.github/workflows/template_publish_platform.yml b/.github/workflows/template_publish_platform.yml index b000b494b5..7e007ca24b 100644 --- a/.github/workflows/template_publish_platform.yml +++ b/.github/workflows/template_publish_platform.yml @@ -25,6 +25,7 @@ jobs: name: Publish platform wheels runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: - ubuntu-latest