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) <noreply@anthropic.com>
This commit is contained in:
@@ -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 || '' }}
|
||||
|
||||
Reference in New Issue
Block a user