From 6d5d8682ad29dc254fdb1c7fc46571fe0e5e81c5 Mon Sep 17 00:00:00 2001 From: Bai-Yingjie Date: Mon, 15 Jul 2024 13:07:45 +0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d97cdcc..fc6e3a7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,11 +16,14 @@ jobs: with: go-version: 1.18 - - name: Install musl - run: sudo apt-get install -y --no-install-recommends musl-dev musl-tools - - name: Build - run: CC=musl-gcc GOARCH=amd64 make full && mv -f bin/gshell bin/gshell.amd64 && md5sum bin/gshell* > bin/md5sum && rm -f bin/buildtag bin/gittag + run: | + CGO_ENABLED=0 GOARCH=amd64 make full && mv -f bin/gshell bin/gshell.amd64 + CGO_ENABLED=0 GOARCH=arm64 make lite && mv -f bin/gshell bin/gshell.arm64 + CGO_ENABLED=0 GOARCH=mips64 make lite && mv -f bin/gshell bin/gshell.mips64 + md5sum bin/gshell* > bin/md5sum + rm -f bin/buildtag bin/gittag + - name: Upload files to release uses: svenstaro/upload-release-action@v2