Skip to content

Commit efa9afc

Browse files
committed
Use 'X64' variable everywhere except macos
1 parent ef40e17 commit efa9afc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ export function setupPath(newPathEntries) {
407407
export function setupJavaHome() {
408408
core.startGroup(`Modifying JAVA_HOME for JRuby`)
409409
let arch = os.arch();
410-
if (arch == "x64") {
410+
if (arch == "x64" || os.platform() != "darwin") {
411411
arch = "X64"
412412
}
413413
let newHomeVar = `JAVA_HOME_21_${arch}`;

dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)