You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`architecture`: The target architecture of the package. Possible values: `x86`, `x64`, `armv7`, `aarch64`, `ppc64le`. Default value: Derived from the runner machine.
Actual behavior:
If user omits architecture, then setup-java generates JAVA_HOME_17_ARM64 environment variable.
If user passes architecture: aarch64, then setup-java generates JAVA_HOME_17_AARCH64 variable.
The text was updated successfully, but these errors were encountered:
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: