From 088f690c35e72f58fa2e2ecb159a62be47ea1ba4 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Tue, 19 May 2026 17:02:26 +0800 Subject: [PATCH] ci(release): use cargo tauri CLI for Linux bundler (#4225) The release workflow installs the Rust-based tauri-cli from the feat/truly-portable-appimage branch for Linux builds, but the tauri-action step had no tauriScript input. Without it, tauri-action falls back to the npm @tauri-apps/cli, so the custom truly-portable AppImage bundler was never actually used. Set tauriScript to `cargo tauri` for the Linux matrix entries so the just-installed Rust CLI is used. macOS/Windows resolve to an empty string and keep using the npm CLI as before. Co-authored-by: Claude Opus 4.7 (1M context) --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce745010..115f55fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -313,6 +313,10 @@ jobs: NODE_OPTIONS: '--max-old-space-size=8192' with: projectPath: apps/readest-app + # On Linux, build with the Rust `cargo tauri` CLI installed in the + # step above so the new (truly-portable AppImage) bundler is used. + # Without this, tauri-action falls back to the npm @tauri-apps/cli. + tauriScript: ${{ matrix.config.release == 'linux' && 'cargo tauri' || '' }} releaseId: ${{ needs.get-release.outputs.release_id }} releaseBody: ${{ needs.get-release.outputs.release_note }} args: ${{ matrix.config.args || '' }}