Skip to content

Commit

Permalink
fix: update linux-release workflow to install gcc-aarch64-linux-gnu n…
Browse files Browse the repository at this point in the history
…on-interactively
  • Loading branch information
Calcium-Ion committed Jan 5, 2025
1 parent 82ae6e4 commit 055a238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/linux-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Build Backend (arm64)
run: |
sudo apt-get update
sudo apt-get install gcc-aarch64-linux-gnu
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y gcc-aarch64-linux-gnu
CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -X 'one-api/common.Version=$(git describe --tags)' -extldflags '-static'" -o one-api-arm64
- name: Release
Expand Down

0 comments on commit 055a238

Please sign in to comment.