Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bai-Yingjie authored Jul 15, 2024
1 parent 8afd91a commit 6d5d868
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d5d868

Please sign in to comment.