From ecfad6dec9a4e9a4babd5fbea4110719f44350dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helmut=20H=C3=A4nsel?= Date: Thu, 28 Nov 2024 23:15:16 +0100 Subject: [PATCH] fix optinoal condition --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 756c549..fd1b1b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - continue-on-error: ${{ matrix.os == 'nightly' || matrix.os == 'pre' }} + continue-on-error: ${{ matrix.version == 'nightly' || matrix.version == 'pre' }} runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -34,8 +34,8 @@ jobs: - name: Handle optional failures if: ${{ failure() }} run: | - if [[ "${{ matrix.os }}" == "nightly" || "${{ matrix.os }}" == "pre" ]]; then - echo "::warning::Optional matrix job failed for ${{ matrix.os }}." + if [[ "${{ matrix.version }}" == "nightly" || "${{ matrix.version }}" == "pre" ]]; then + echo "::warning::Optional matrix job failed for ${{ matrix.version }}." echo "optional_fail=true" >> "${GITHUB_OUTPUT}" exit 0 # Ignore the error to keep the green checkmark going fi