Skip to content

Commit

Permalink
github ci: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Bai-Yingjie authored Apr 10, 2024
1 parent 73bc010 commit 99ad072
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,16 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.18
- run: go env

- name: Install musl
run: sudo apt-get install -y --no-install-recommends musl-dev musl-tools
- run: sudo apt-get install -y --no-install-recommends musl-dev musl-tools
- run: musl-gcc -v

- name: Build
run: |
CC=musl-gcc GOARCH=amd64 make full && mv -f bin/gshell bin/gshell.amd64
CC=musl-gcc GOARCH=mips64 make full && mv -f bin/gshell bin/gshell.mips64
CC=musl-gcc GOARCH=arm64 make full && mv -f bin/gshell bin/gshell.arm64
md5sum bin/gshell* > bin/md5sum
rm -f bin/buildtag bin/gittag
- run: CC=musl-gcc GOARCH=amd64 make full && mv -f bin/gshell bin/gshell.amd64
- run: md5sum bin/gshell* > bin/md5sum
- run: rm -f bin/buildtag bin/gittag

- name: Upload files to release
uses: svenstaro/upload-release-action@v2
Expand Down

0 comments on commit 99ad072

Please sign in to comment.