Skip to content

Commit

Permalink
cc for target
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Feb 20, 2024
1 parent 90e5909 commit c8a3e42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
- name: Set CC environment variable for cross-compilation
run: |
if [ "${{ matrix.goarch }}" = "arm64" ]; then
echo "CC=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
echo "CC_FOR_TARGET=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
elif [ "${{ matrix.goarch }}" = "amd64" ]; then
echo "CC=x86_64-linux-gnu-gcc" >> $GITHUB_ENV
echo "CC_FOR_TARGET=x86_64-linux-gnu-gcc" >> $GITHUB_ENV
fi
- uses: wangyoucao577/go-release-action@v1.40
env:
Expand Down

0 comments on commit c8a3e42

Please sign in to comment.