Commit f5deaaf
committed
Bump actions/setup-java to v3.14.1 with adopt distribution
The setup-build-environment composite action was pinned to
actions/setup-java@v1.4.4 (Aug 2020). On arm64 macos-latest runners
(Image: macos-15-arm64) v1.4.4 resolves JDKs under the legacy
x64-only tool cache path and intermittently fails with:
JAVA_HOME: /Users/runner/hostedtoolcache/jdk/8.0.492/x64
The JAVA_HOME environment variable is not defined correctly,
this environment variable is needed to run this program.
Observed on PR #773 run 24765873049, jobs unit-tests
(macos-latest, 8), (macos-latest, 11), and (macos-latest, 17). Java
20 on the same commit passed, and the same workflow on the same
commit SHA has alternated between pass and fail, confirming the
x64/arm64 mismatch is the root cause.
release.yml and package.yml already use v3.14.1 with
distribution: "adopt"; this change aligns setup-build-environment
with them.
Co-authored-by: Isaac1 parent 17f558c commit f5deaaf
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
0 commit comments