setup-zig icon indicating copy to clipboard operation
setup-zig copied to clipboard

Better handle architecture

Open davidgmbb opened this issue 1 year ago • 2 comments
trafficstars

davidgmbb avatar Jan 27 '24 09:01 davidgmbb

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.

clebert avatar Feb 26 '24 10:02 clebert

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

davidgmbb avatar Feb 26 '24 13:02 davidgmbb