From 23eb0efe953dde0b1dfee54c24f4eb1fefc571fc 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..234f2562 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: needs.build-cache-check.outputs.cache-hit || needs.build-test.result == 'skipped' runs-on: ubuntu-latest strategy: matrix: