Skip to content

Commit 8a57aea

Browse files
committed
Simplify: use cargo install with cache
1 parent 489dab8 commit 8a57aea

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/tauri-release.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,7 @@ jobs:
3737

3838
# Build with Tauri CLI v2
3939
- name: Install Tauri CLI
40-
run: |
41-
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
42-
cargo binstall tauri-cli --version "^2.0.0" -y
43-
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45-
46-
- name: Debug - list files
47-
run: |
48-
echo "Root directory:"
49-
ls -la
50-
echo "src-tauri directory:"
51-
ls -la src-tauri/
40+
run: cargo install tauri-cli --version "^2.0.0" --locked
5241

5342
- name: Build Tauri app
5443
run: cargo tauri build

0 commit comments

Comments
 (0)