24c2821ae2
The v0.7.1 arm64-static build failed with: 'JavaScript Actions in Alpine containers are only supported on x64 Linux runners. Detected Linux Arm64' actions/checkout (and most other GitHub Actions) ship as Node.js bundles. On x86_64, GitHub's runner injects a glibc-compatible Node into Alpine containers; on arm64, that injection isn't available. The container fails to even check out the repo. Fix: run the arm64 static build natively on ubuntu-24.04-arm (a glibc-based runner that actions/checkout works on out of the box), and use Ubuntu's musl-tools package to get musl-gcc + musl-dev for the static link. The produced binary is still statically-linked against musl — just built outside an Alpine container. Refactor: the previous build-static matrix becomes two distinct jobs (build-static-x86_64 still Alpine-on-x64; build-static-arm64 now musl-tools-on-arm64). The release job's needs[] list and the artifact list are unchanged at the consumer level — the same four binaries (x86_64 dyn + static, arm64 dyn + static) plus install.sh still get published.