From 30d51e0e4a539beb4146430a49c52b8c2f49e93e Mon Sep 17 00:00:00 2001 From: "954801926@qq.com" Date: Thu, 30 Jul 2026 00:39:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E5=8A=A0=20npm=20ci=20=E6=AD=A5?= =?UTF-8?q?=E9=AA=A4=20+=20=E7=A7=BB=E9=99=A4=E5=86=B2=E7=AA=81=E7=9A=84?= =?UTF-8?q?=20libappindicator3-dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - macOS/Windows 失败: 'tauri' 命令找不到 → 实际是 npm 依赖没装 tauri-action 不会自动 npm install, 需显式 npm ci - Linux apt 冲突: libappindicator3-dev 与 libayatana-appindicator3-dev 互斥 保留后者 (Tauri 2 推荐) --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87ce6af..9e8cf4d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,6 +46,9 @@ jobs: node-version: 20 cache: 'npm' + - name: Install npm dependencies + run: npm ci + - uses: dtolnay/rust-toolchain@stable with: cache: true @@ -56,7 +59,6 @@ jobs: sudo apt-get update sudo apt-get install -y \ libwebkit2gtk-4.1-dev \ - libappindicator3-dev \ librsvg2-dev \ patchelf \ build-essential \