Skip to content

Commit

Permalink
Map arm64 to aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekthompson committed Oct 11, 2024
1 parent 326c517 commit ed5fd4d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28618,7 +28618,10 @@ function getOs() {
function getArch() {
switch (process.arch) {
case 'x64': {
return 'x86-64';
return 'x86_64';
}
case 'arm64': {
return 'aarch64';
}
default: {
return process.arch;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-abq",
"version": "1.0.31",
"version": "1.0.32",
"private": true,
"description": "This action installs the abq binary.",
"main": "dist/index.js",
Expand Down
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ function getOs() {
function getArch() {
switch (process.arch) {
case 'x64': {
return 'x86-64'
return 'x86_64'
}
case 'arm64': {
return 'aarch64'
}
default: {
return process.arch
Expand Down

0 comments on commit ed5fd4d

Please sign in to comment.