diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 23be06992..a4553cfc9 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -30,7 +30,7 @@ jobs: - name: Set CC environment variable for cross-compilation run: | if [ "${{ matrix.goarch }}" = "arm64" ]; then - echo "CC=/usr/bin/aarch64-linux-gnu" >> $GITHUB_ENV + echo "CC=/usr/bin/aarch64-linux-gnu-gcc" >> $GITHUB_ENV elif [ "${{ matrix.goarch }}" = "amd64" ]; then echo "CC=x86_64-linux-gnu-gcc" >> $GITHUB_ENV fi