Skip to content

Commit

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

Please sign in to comment.