The resulting JAVA_HOME_..._architecture variable name is inconsistent: ARM64 or AARCH64 #561
Open
3 of 5 tasks
Labels
bug
Something isn't working
Description:
The environment variable name is inconsistent: sometimes it is
JAVA_HOME_17_AARCH64
and sometimes it isJAVA_HOME_17_ARM64
.setup-java/src/distributions/base-installer.ts
Line 172 in 9eda6b5
Task version:
'actions/setup-java@v3' (SHA:0ab4596768b603586c0de567f2430c30f5b0d2b0)
Platform:
Runner type:
Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.
Expected behavior:
The variable name should be consistent.
Preferably, the variable name should use the same values as the action's
architecture
input parameter:setup-java/README.md
Line 36 in 9eda6b5
Actual behavior:
If user omits
architecture
, thensetup-java
generatesJAVA_HOME_17_ARM64
environment variable.If user passes
architecture: aarch64
, thensetup-java
generatesJAVA_HOME_17_AARCH64
variable.The text was updated successfully, but these errors were encountered: