goto-bus-stop / setup-zig

use a @ziglang compiler in your github actions workflows
Other
147 stars 19 forks source link

Better handle architecture #68

Closed davidgm94 closed 3 months ago

davidgm94 commented 6 months ago

Closes #76

clebert commented 5 months ago

When using setup-zig on macOS ARM runners, it currently downloads the x64 (Intel) version of Zig by default. I believe the changes proposed in this PR should resolve the issue by ensuring the ARM version of Zig is downloaded instead.

davidgm94 commented 5 months ago

That is the reasoning of the change, since currently the action is unable to pick the right binary due to it being hardcoded.