Skip to content

Commit

Permalink
Map arm64 to aarch64 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekthompson authored Oct 11, 2024
1 parent 326c517 commit 6e1a82e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 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
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 6e1a82e

Please sign in to comment.