File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,8 @@ function run() {
172
172
: os . platform ( ) === "win32"
173
173
? "win"
174
174
: "linux" ;
175
- yield installer . getRaku ( version , platform , "x86_64" ) ;
175
+ const arch = os . arch ( ) === "arm64" ? "arm64" : "x86_64" ;
176
+ yield installer . getRaku ( version , platform , arch ) ;
176
177
core . startGroup ( "raku -V" ) ;
177
178
yield exec . exec ( "raku" , [ "-V" ] ) ;
178
179
core . endGroup ( ) ;
Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ function run() {
46
46
: os . platform ( ) === "win32"
47
47
? "win"
48
48
: "linux" ;
49
- yield installer . getRaku ( version , platform , "x86_64" ) ;
49
+ const arch = os . arch ( ) === "arm64" ? "arm64" : "x86_64" ;
50
+ yield installer . getRaku ( version , platform , arch ) ;
50
51
core . startGroup ( "raku -V" ) ;
51
52
yield exec . exec ( "raku" , [ "-V" ] ) ;
52
53
core . endGroup ( ) ;
You can’t perform that action at this time.
0 commit comments