We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54cda79 commit 6a5540bCopy full SHA for 6a5540b
src/butler.ts
@@ -69,9 +69,14 @@ function getArch(): string {
69
arch = "i386";
70
break;
71
default:
72
- throw new Error(
73
- `butler is not supported on the ${os.arch()} architecture`,
74
- );
+ if (getPlatform() == "darwin" && os.arch() == "arm64") {
+ arch = "amd64";
+ }
75
+ else {
76
+ throw new Error(
77
+ `butler is not supported on the ${os.arch()} architecture`,
78
+ );
79
80
}
81
82
core.info(`Architecture has been discovered as '${arch}'.`);
0 commit comments