Skip to content

Commit 6e1a82e

Browse files
Map arm64 to aarch64 (#56)
1 parent 326c517 commit 6e1a82e

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

dist/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28618,7 +28618,10 @@ function getOs() {
2861828618
function getArch() {
2861928619
switch (process.arch) {
2862028620
case 'x64': {
28621-
return 'x86-64';
28621+
return 'x86_64';
28622+
}
28623+
case 'arm64': {
28624+
return 'aarch64';
2862228625
}
2862328626
default: {
2862428627
return process.arch;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-abq",
3-
"version": "1.0.31",
3+
"version": "1.0.32",
44
"private": true,
55
"description": "This action installs the abq binary.",
66
"main": "dist/index.js",

src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ function getOs() {
1313
function getArch() {
1414
switch (process.arch) {
1515
case 'x64': {
16-
return 'x86-64'
16+
return 'x86_64'
17+
}
18+
case 'arm64': {
19+
return 'aarch64'
1720
}
1821
default: {
1922
return process.arch

0 commit comments

Comments
 (0)