Files
Abhay 9caa1ae8a7 feat: [CI-25374]: add github actions plugins suppots (#35)
* feat: [CI-25374]: add github actions plugins suppots

* fix: [CI-25374]: fix pipeline

* fix: [CI-25374]: update golang version
2026-11-12 12:49:15 +05:30

15 lines
366 B
Bash
Executable File

#!/bin/sh
# Preserve the existing AMD64 default; CI selects each native architecture.
set -eu
export GOPATH=""
export CGO_ENABLED=0
build_arch="${GOARCH:-amd64}"
case "$build_arch" in
amd64|arm64) ;;
*) echo "Unsupported Linux architecture: $build_arch" >&2; exit 1 ;;
esac
GOOS=linux GOARCH="$build_arch" go build -o "release/linux/$build_arch/plugin" ./cmd