fix(workflow): Align with canary-release.yml configuration

This commit is contained in:
lovewormcn 2026-08-13 14:34:05 +00:00
parent 225687bd3c
commit f261efc118
2 changed files with 72 additions and 21 deletions

View file

@ -137,12 +137,16 @@ jobs:
ref: feature/quickjs-script-engine
fetch-depth: 0
- uses: pnpm/action-setup@v4
with:
version: 10
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: package-lock.json
node-version: '22'
cache: 'pnpm'
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
@ -153,7 +157,7 @@ jobs:
if: matrix.platform == 'linux'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install dependencies (macOS)
if: matrix.platform == 'macos'
@ -161,7 +165,7 @@ jobs:
rustup target add aarch64-apple-darwin
- name: Install frontend dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Build Tauri App
uses: tauri-apps/tauri-action@v0