Skip to content

Commit a2557bb

Browse files
committed
8328948: GHA: Restoring sysroot from cache skips the build after JDK-8326960
Backport-of: 447436e18c754424a62af5135fb3a8973564091d
1 parent c33815a commit a2557bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,12 @@ jobs:
177177
echo "Dumping config.log:" &&
178178
cat config.log &&
179179
exit 1)
180-
if: steps.create-sysroot.outcome == 'success'
180+
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'
181181

182182
- name: 'Build'
183183
id: build
184184
uses: ./.github/actions/do-build
185185
with:
186186
make-target: 'hotspot ${{ inputs.make-arguments }}'
187187
platform: linux-${{ matrix.target-cpu }}
188-
if: steps.create-sysroot.outcome == 'success'
188+
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'

0 commit comments

Comments
 (0)