From b1acc72b2cdeec4a059ef8a0547643debfdc9dc4 Mon Sep 17 00:00:00 2001 From: Giovanni Toraldo Date: Thu, 1 Aug 2024 17:18:25 +0200 Subject: [PATCH] try with an if --- .github/workflows/build_and_test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 1f079f3a..11585597 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -95,7 +95,10 @@ jobs: compose-test: name: compose-test ${{ matrix.docker-compose-file }} - needs: build-test + needs: + - build-cache-check + - build-test + if: always() && (needs.build-test.result == 'success' || needs.build-test.result == 'skipped') runs-on: ubuntu-latest strategy: matrix: