From 03a2f88cd1aeb2de6a7daff1f48d054274344152 Mon Sep 17 00:00:00 2001 From: Francis Charette Migneault Date: Wed, 27 Mar 2024 16:50:59 -0400 Subject: [PATCH] fix invalid reference in CI causing skip duplicate output to be misinterpreted (relates to https://github.com/fkirc/skip-duplicate-actions/issues/90) --- .github/workflows/tests.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 465ce25bb..5f275fc73 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,7 +19,7 @@ jobs: continue-on-error: true runs-on: ubuntu-latest outputs: - should_skip: ${{ steps.skip_check.outputs.should_skip && ! contains(github.ref, 'refs/tags') }} + should_skip: ${{ steps.skip_duplicate.outputs.should_skip && ! contains(github.ref, 'refs/tags') }} steps: - id: skip_check uses: fkirc/skip-duplicate-actions@master @@ -30,10 +30,8 @@ jobs: # see: https://github.com/actions/setup-python tests: - # FIXME: https://github.com/fkirc/skip-duplicate-actions/issues/90 - # disable for now because the tests never run... somehow similar config works in Magpie... - # needs: skip_duplicate - # if: ${{ needs.skip_duplicate.outputs.should_skip != 'true' }} + needs: skip_duplicate + if: ${{ needs.skip_duplicate.outputs.should_skip != 'true' }} runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.allow-failure }} env: