Update src/setup-julia.ts

This commit is contained in:
Ian Butterworth
2025-10-03 09:38:45 -04:00
committed by GitHub
parent ab8c34a8eb
commit 60d0df7300

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".')
}
}