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 99ad072 commit 3926e31
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@ 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: musl-gcc -v
run: go env && sudo apt-get install -y --no-install-recommends musl-dev musl-tools && musl-gcc -v

- name: Build
- 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
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

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

0 comments on commit 3926e31

Please sign in to comment.