From 9f29c75491d8e4b2621447bb8fa10cb62ebd38d0 Mon Sep 17 00:00:00 2001 From: tsosunchia <59512455+tsosunchia@users.noreply.github.com> Date: Sat, 28 May 2022 01:51:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=BA=9B=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cross_compile.sh | 1 + .github/workflows/build.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.cross_compile.sh b/.cross_compile.sh index 52148e7..d7857ca 100644 --- a/.cross_compile.sh +++ b/.cross_compile.sh @@ -17,6 +17,7 @@ mkdir ${TARGET_DIR} for pl in ${PLATFORMS}; do export GOOS=$(echo ${pl} | cut -d'/' -f1) export GOARCH=$(echo ${pl} | cut -d'/' -f2) + export GOARM=$(echo ${pl} | cut -d'v' -f2) export TARGET=${TARGET_DIR}/${DIST_PREFIX}_${GOOS}_${GOARCH} if [ "${GOOS}" == "windows" ]; then export TARGET=${TARGET_DIR}/${DIST_PREFIX}_${GOOS}_${GOARCH}.exe diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 26a9fab..217b247 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,6 +38,9 @@ jobs: dist/nexttrace_darwin_arm64 dist/nexttrace_linux_amd64 dist/nexttrace_linux_arm64 + dist/nexttrace_linux_arm_v7 dist/nexttrace_linux_mips + dist/nexttrace_openbsd_amd64 + dist/nexttrace_freebsd_amd64 env: GITHUB_TOKEN: ${{ secrets.GT_Token }}