fix(ci): 加 npm ci 步骤 + 移除冲突的 libappindicator3-dev
- macOS/Windows 失败: 'tauri' 命令找不到 → 实际是 npm 依赖没装 tauri-action 不会自动 npm install, 需显式 npm ci - Linux apt 冲突: libappindicator3-dev 与 libayatana-appindicator3-dev 互斥 保留后者 (Tauri 2 推荐)
This commit is contained in:
1 parent
ea54cda116
commit
30d51e0e4a
1 file changed
+3
-1
@@ -46,6 +46,9 @@ jobs:
|
|||||||
node-version: 20
|
node-version: 20
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
|
- name: Install npm dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
cache: true
|
cache: true
|
||||||
@@ -56,7 +59,6 @@ jobs:
|
|||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
libwebkit2gtk-4.1-dev \
|
libwebkit2gtk-4.1-dev \
|
||||||
libappindicator3-dev \
|
|
||||||
librsvg2-dev \
|
librsvg2-dev \
|
||||||
patchelf \
|
patchelf \
|
||||||
build-essential \
|
build-essential \
|
||||||
|
|||||||
Reference in new issue
Block a user