8328948: GHA: Restoring sysroot from cache skips the build after JDK-8326960

Reviewed-by: clanger, ihse
This commit is contained in:
Aleksey Shipilev 2024-03-25 18:15:45 +00:00
parent c7cf602078
commit 447436e18c

View File

@ -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'