diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index d7226606b..631cddbc5 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -27,9 +27,9 @@ jobs: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} - name: Determine C compiler run: | - if [ "${{ matrix.goarch }}" = "arm64" ]; then; + if [ "${{ matrix.goarch }}" = "arm64" ]; then echo "TARGET_CC=aarch64-linux-gnu-gcc" >> $GITHUB_ENV - elif [ "${{ matrix.goarch }}" = "amd64" ]; then; + elif [ "${{ matrix.goarch }}" = "amd64" ]; then echo "TARGET_CC=x86_64-linux-gnu-gcc" >> $GITHUB_ENV fi - uses: wangyoucao577/go-release-action@v1.48