File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1313 fail-fast : false
1414 matrix :
1515 include :
16- # Apple Silicon (M1/M2/M3)
1716 - runner : macos-14
1817 target : aarch64-apple-darwin
19- # Intel macOS
2018 - runner : macos-13
2119 target : x86_64-apple-darwin
2220
@@ -35,15 +33,19 @@ jobs:
3533 with :
3634 workspaces : ' ./src-tauri -> target'
3735
38- - name : Install trunk, wasm-bindgen-cli, and Tauri CLI (v2)
36+ - name : Ensure Cargo bin is on PATH
37+ run : echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
38+
39+ - name : Install trunk, wasm-bindgen-cli, and cargo-tauri (v2)
3940 run : |
4041 cargo install trunk --locked || true
4142 cargo install wasm-bindgen-cli --locked || true
42- cargo install tauri-cli --locked --version ^2 || true
43- cargo --list | grep -E '^ tauri\b' || (echo "cargo tauri not installed" && exit 1)
43+ cargo install cargo-tauri --locked --version ^2 || true
44+ cargo --list | sed -n '/Installed Commands/,$p' | grep -E '^\s+tauri\b' || (echo "cargo tauri not installed" && exit 1)
45+ cargo tauri --version
4446
4547 - name : Build Leptos frontend (WASM) with trunk
46- # If your index.html/Cargo.toml live elsewhere, set working-directory accordingly.
48+ # adjust working-directory if your index.html is elsewhere
4749 working-directory : .
4850 run : trunk build --release
4951
You can’t perform that action at this time.
0 commit comments