From e2e41e8ecf9ab72bc04b905a6c47fc8ac870c583 Mon Sep 17 00:00:00 2001 From: Shekhar Vaidya Date: Mon, 13 Jul 2026 10:45:33 +0530 Subject: [PATCH] feat(ci): add linux-arm64 build target for CLI releases Telemetry showed a growing number of Termux (Android) users running the CLI, but the release workflow only builds linux-amd64 -- those users had to build from source since Termux runs on ARM64. Adds a linux-arm64 binary and install line so they can just curl it. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/cli-release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml index 2299218..5e793c5 100644 --- a/.github/workflows/cli-release.yml +++ b/.github/workflows/cli-release.yml @@ -26,6 +26,7 @@ jobs: VERSION="${VERSION#cli/v}" mkdir -p ../dist GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X main.Version=${VERSION}" -o ../dist/msdl-linux-amd64 . + GOOS=linux GOARCH=arm64 go build -ldflags="-s -w -X main.Version=${VERSION}" -o ../dist/msdl-linux-arm64 . GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w -X main.Version=${VERSION}" -o ../dist/msdl-darwin-amd64 . GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w -X main.Version=${VERSION}" -o ../dist/msdl-darwin-arm64 . GOOS=windows GOARCH=amd64 go build -ldflags="-s -w -X main.Version=${VERSION}" -o ../dist/msdl-windows-amd64.exe . @@ -69,6 +70,10 @@ jobs: curl -L https://github.com/starkSV/windows-iso-downloader/releases/download/${{ github.ref_name }}/msdl-linux-amd64 -o msdl chmod +x msdl && sudo mv msdl /usr/local/bin/ + # Linux ARM64 (also works in Termux on Android) + curl -L https://github.com/starkSV/windows-iso-downloader/releases/download/${{ github.ref_name }}/msdl-linux-arm64 -o msdl + chmod +x msdl && mv msdl $PREFIX/bin/ 2>/dev/null || sudo mv msdl /usr/local/bin/ + # macOS Apple Silicon curl -L https://github.com/starkSV/windows-iso-downloader/releases/download/${{ github.ref_name }}/msdl-darwin-arm64 -o msdl chmod +x msdl && sudo mv msdl /usr/local/bin/ -- 2.45.3