Skip to content

Commit 2d7d0c9

Browse files
committed
fix: 使用arm64的正确tag
1 parent 799e9fd commit 2d7d0c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ jobs:
300300
name: windows-amd64
301301

302302
# Linux builds
303-
- os: ubuntu-latest
303+
- os: ubuntu-24.04-arm
304304
platform: linux
305305
arch: arm64
306306
name: linux-arm64
@@ -326,7 +326,6 @@ jobs:
326326
if: matrix.platform == 'linux'
327327
run: |
328328
if [ "${{ matrix.arch }}" == "arm64" ]; then
329-
sudo bash <(curl -sSL https://linuxmirrors.cn/main.sh) --source mirrors.aliyun.com --web-protocol http --intranet false --backup true --updata-software true --clean-cache false --ignore-backup-tips
330329
sudo dpkg --add-architecture arm64
331330
sudo apt-get update
332331
sudo apt-get install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross

0 commit comments

Comments
 (0)