Normalize ARM64 runner architecture when checking exported JAVA_HOME variables and skip the unsupported adopt-openj9 macOS arm64 version-file matrix entry.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: e78541cb-82b7-4fc2-8ffc-b1e5799efbce
Description:
The macOS e2e workflow was failing after
macos-latestresolved to an arm64 runner. The action exports Java home variables usingAARCH64, while the workflow assertions used the runner labelARM64, so the checks looked for the wrong environment variable names.This normalizes the workflow assertions from
ARM64toAARCH64before checkingJAVA_HOME_*variables. It also excludes the unsupportedadopt-openj9+macos-latestversion-file matrix entry, since adopt-openj9 does not provide macOS arm64 builds for that Java version.Related issue:
N/A
Check list:
npm run checklocally (format, lint, build, test) and all checks pass.