diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9dd2243..4ea8681 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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