Both Linux matrix entries (linux-x64 and linux-arm64) run on ubuntu-latest, which is an x64 runner. The Go build step sets no GOARCH, so both entries produce a linux/amd64 binary. The linux-arm64.zip release artifact ships the wrong arch.
Fix: add a goarch field to each matrix entry(amd64 / arm64) and pass it as GOARCH in the Linux Go build step.
Both Linux matrix entries (
linux-x64andlinux-arm64) run onubuntu-latest, which is an x64 runner. The Go build step sets noGOARCH, so both entries produce alinux/amd64binary. Thelinux-arm64.ziprelease artifact ships the wrong arch.Fix: add a
goarchfield to each matrix entry(amd64/arm64) and pass it asGOARCHin the Linux Go build step.