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

Backport-of: 447436e18c
This commit is contained in:
Aleksey Shipilev
2024-03-26 08:19:04 +00:00
committed by Vitaly Provodin
parent fa0003e132
commit 3b70b6b135

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'