diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 51b1e0b32..f80642e64 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -32,7 +32,6 @@ jobs: elif [ "${{ matrix.goarch }}" = "amd64" ]; then echo "CC=x86_64-linux-gnu-gcc" >> $GITHUB_ENV fi - echo "GOGCCFLAGS=" >> $GITHUB_ENV - uses: wangyoucao577/go-release-action@v1.40 env: MIXPANEL_PROJECT_TOKEN: ${{ secrets.MIXPANEL_PROJECT_TOKEN }} @@ -45,7 +44,7 @@ jobs: CGO_FLAGS: "-O2 -D__BLST_PORTABLE__" CGO_CFLAGS: "-O2 -D__BLST_PORTABLE__" with: - pre_command: apt-get update && apt-get -y install gcc-aarch64-linux-gnu && make generate && export CGO_ENABLED=1 && export CGO_FLAGS="-O2 -D__BLST_PORTABLE__" && export CGO_CFLAGS="-O2 -D__BLST_PORTABLE__" && export GOGCCFLAGS="" + pre_command: apt-get update && apt-get -y install gcc-aarch64-linux-gnu && make generate && export CGO_ENABLED=1 && export CGO_FLAGS="-O2 -D__BLST_PORTABLE__" && export CGO_CFLAGS="-O2 -D__BLST_PORTABLE__" && export GO111MODULE=on github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }}