-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action fails at aarch64 machine since action.yml hardcodes X64 #63
Comments
Try JAVA_HOME_17_ARM64 first, and fallback to JAVA_HOME_17_X86 Fixes oracle-actions#63
Here's a workaround: uses: oracle-actions/setup-java@7a0114d66dbd02646abd345c3395b34c148e6126 # v1.3.2
env:
# ARM machines miss JAVA_HOME_17_X64, however, the action uses the variable
JAVA_HOME_17_X64: ${{ env.JAVA_HOME_17_ARM64 || env.JAVA_HOME_17_X64 }} |
Note that |
With |
By the way, it looks like
|
@vlsi and @sureshg - I went ahead and added support for ARM-based runners. Tests look good so far: https://github.com/oracle-actions/setup-java/actions/runs/7738950766 Can you please double-check using either the commit hash |
@sormuras it's working fine on
|
See https://github.com/pgjdbc/pgjdbc/actions/runs/6997219349/job/19033952407#step:5:14
Can the action support arm linux as well?
setup-java/action.yml
Line 49 in afea155
Here's the log (note there's
JAVA_HOME_17_ARM64
environment variable):The text was updated successfully, but these errors were encountered: