Skip to content

Commit

Permalink
npm run build
Browse files Browse the repository at this point in the history
  • Loading branch information
skaji committed Mar 27, 2024
1 parent d688f28 commit 3babe98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ function run() {
: os.platform() === "win32"
? "win"
: "linux";
yield installer.getRaku(version, platform, "x86_64");
const arch = os.arch() === "arm64" ? "arm64" : "x86_64";
yield installer.getRaku(version, platform, arch);
core.startGroup("raku -V");
yield exec.exec("raku", ["-V"]);
core.endGroup();
Expand Down
3 changes: 2 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ function run() {
: os.platform() === "win32"
? "win"
: "linux";
yield installer.getRaku(version, platform, "x86_64");
const arch = os.arch() === "arm64" ? "arm64" : "x86_64";
yield installer.getRaku(version, platform, arch);
core.startGroup("raku -V");
yield exec.exec("raku", ["-V"]);
core.endGroup();
Expand Down

0 comments on commit 3babe98

Please sign in to comment.