Skip to content

Commit 799e9fd

Browse files
committed
fix: 权限升级
1 parent 1c75f75 commit 799e9fd

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
@@ -326,8 +326,7 @@ jobs:
326326
if: matrix.platform == 'linux'
327327
run: |
328328
if [ "${{ matrix.arch }}" == "arm64" ]; then
329-
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
330-
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
331330
sudo dpkg --add-architecture arm64
332331
sudo apt-get update
333332
sudo apt-get install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross

0 commit comments

Comments
 (0)