From 50e2ad5077bb386d53f9b9562d11946a8438bf09 Mon Sep 17 00:00:00 2001 From: Fox_block Date: Sat, 21 Mar 2026 17:24:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20GitHub=20Actions=20?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 push 触发器,只保留 workflow_dispatch 手动触发 - 将 dtolnay/rust-action 替换为 dtolnay/rust-toolchain(正确的仓库名称) --- .github/workflows/build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62844ba..9b0c362 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,6 @@ name: build on: - push: - branches: [main] workflow_dispatch: inputs: version: @@ -75,7 +73,7 @@ jobs: version: 10 - name: 安装 Rust - uses: dtolnay/rust-action@stable + uses: dtolnay/rust-toolchain@stable - name: 应用版本号 run: node scripts/ci/apply-version.mjs ${{ needs.parse.outputs.version }} @@ -107,7 +105,7 @@ jobs: version: 10 - name: 安装 Rust - uses: dtolnay/rust-action@stable + uses: dtolnay/rust-toolchain@stable - name: 应用版本号 run: node scripts/ci/apply-version.mjs ${{ needs.parse.outputs.version }} @@ -139,7 +137,7 @@ jobs: version: 10 - name: 安装 Rust - uses: dtolnay/rust-action@stable + uses: dtolnay/rust-toolchain@stable - name: 安装系统依赖 run: | @@ -176,7 +174,7 @@ jobs: version: 10 - name: 安装 Rust - uses: dtolnay/rust-action@stable + uses: dtolnay/rust-toolchain@stable with: targets: aarch64-linux-android, armv7-linux-androideabi, x86_64-linux-android, i686-linux-android