mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 03:32:36 +08:00
ci: speed up cargo install by enabling cache (#1279)
This commit is contained in:
parent
901a983150
commit
babcb00621
8
.github/workflows/alpha.yml
vendored
8
.github/workflows/alpha.yml
vendored
|
@ -46,9 +46,15 @@ jobs:
|
|||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: src-tauri
|
||||
cache-all-crates: true
|
||||
cache-on-failure: true
|
||||
|
||||
- name: Install Tauri CLI
|
||||
run: cargo install --git https://github.com/tauri-apps/tauri --branch 1.x tauri-cli
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
crate: tauri-cli
|
||||
git: https://github.com/tauri-apps/tauri
|
||||
branch: 1.x # `branch` and `commit` are also supported
|
||||
|
||||
- name: Install Node
|
||||
uses: actions/setup-node@v4
|
||||
|
|
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
@ -39,9 +39,14 @@ jobs:
|
|||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: src-tauri
|
||||
cache-all-crates: true
|
||||
|
||||
- name: Install Tauri CLI
|
||||
run: cargo install --git https://github.com/tauri-apps/tauri --branch 1.x tauri-cli
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
crate: tauri-cli
|
||||
git: https://github.com/tauri-apps/tauri
|
||||
branch: 1.x # `branch` and `commit` are also supported
|
||||
|
||||
- name: Install Node
|
||||
uses: actions/setup-node@v4
|
||||
|
|
Loading…
Reference in New Issue
Block a user