diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 73c34e45a..fe3f6134b 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -45,8 +45,9 @@ jobs: CGO_ENABLED: 1 CGO_FLAGS: "-O2 -D__BLST_PORTABLE__" CGO_CFLAGS: "-O2 -D__BLST_PORTABLE__" + GOGCCFLAGS: ${{ env.GOGCCFLAGS }} 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 GO111MODULE=on + 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 && export GOGCCFLAGS="${GOGCCFLAGS}" github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }}