diff --git a/src/install.ts b/src/install.ts index 19d70d68..4ec74b8e 100644 --- a/src/install.ts +++ b/src/install.ts @@ -19,7 +19,7 @@ function jabbaUrlSuffix(): string { const runnerOs = shell.env["RUNNER_OS"] || "undefined"; switch (runnerOs.toLowerCase()) { case "linux": - const arch = shell.exec("uname -m", { silent: true }).stdout; + const arch = shell.exec("uname -m", { silent: true }).stdout.trim(); switch (arch) { case "arm64": case "aarch64":