From 447436e18c754424a62af5135fb3a8973564091d Mon Sep 17 00:00:00 2001 From: Aleksey Shipilev Date: Mon, 25 Mar 2024 18:15:45 +0000 Subject: [PATCH] 8328948: GHA: Restoring sysroot from cache skips the build after JDK-8326960 Reviewed-by: clanger, ihse --- .github/workflows/build-cross-compile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-cross-compile.yml b/.github/workflows/build-cross-compile.yml index 50fba55f052..fa5a8a61a0a 100644 --- a/.github/workflows/build-cross-compile.yml +++ b/.github/workflows/build-cross-compile.yml @@ -177,7 +177,7 @@ jobs: echo "Dumping config.log:" && cat config.log && exit 1) - if: steps.create-sysroot.outcome == 'success' + if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true' - name: 'Build' id: build @@ -185,4 +185,4 @@ jobs: with: make-target: 'hotspot ${{ inputs.make-arguments }}' platform: linux-${{ matrix.target-cpu }} - if: steps.create-sysroot.outcome == 'success' + if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'