Skip to content

Commit f71648c

Browse files
committed
8328948: GHA: Restoring sysroot from cache skips the build after JDK-8326960
Reviewed-by: shade Backport-of: 447436e18c754424a62af5135fb3a8973564091d
1 parent aee4eea commit f71648c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-cross-compile.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,12 @@ jobs:
171171
echo "Dumping config.log:" &&
172172
cat config.log &&
173173
exit 1)
174-
if: steps.create-sysroot.outcome == 'success'
174+
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'
175175

176176
- name: 'Build'
177177
id: build
178178
uses: ./.github/actions/do-build
179179
with:
180180
make-target: 'hotspot ${{ inputs.make-arguments }}'
181181
platform: linux-${{ matrix.target-cpu }}
182-
if: steps.create-sysroot.outcome == 'success'
182+
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'

0 commit comments

Comments
 (0)