Update src/setup-julia.ts

This commit is contained in:
Ian Butterworth
2025-10-03 09:38:45 -04:00
committed by Dilum Aluthge
parent 4181701c6f
commit 7dfe9f3a51

View File

@@ -67,7 +67,7 @@ async function run() {
if (forceArch) {
core.warning('[setup-julia] x64 arch has been requested on a macOS runner that has an arm64 (Apple Silicon) architecture. The "force-arch" input is set to "true", so proceeding with x64 installation. Note that this will mean Julia will be run under Rosetta emulation.')
} else {
throw new Error('[setup-julia] x64 arch has been requested on a macOS runner that has an arm64 (Apple Silicon) architecture. You may have meant to use the "aarch64" arch instead (or left it unspecified for the correct default). To force the use of x64 on this runner, set the "force-arch" input to "true".')
throw new Error('[setup-julia] x64 arch has been requested on a macOS runner that has an arm64 (Apple Silicon) architecture. You may have meant to use the "aarch64" arch instead (or "default" or left it unspecified for the correct default). To force the use of x64 on this runner, set the "force-arch" input to "true".')
}
}