Skip to content

Commit

Permalink
8328948: GHA: Restoring sysroot from cache skips the build after JDK-…
Browse files Browse the repository at this point in the history
…8326960

Reviewed-by: shade
Backport-of: 447436e18c754424a62af5135fb3a8973564091d
  • Loading branch information
RealFYang committed Mar 26, 2024
1 parent aee4eea commit f71648c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-cross-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,12 @@ 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
uses: ./.github/actions/do-build
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'

0 comments on commit f71648c

Please sign in to comment.