Skip to content

Commit

Permalink
Merge pull request #51 from luyanci/luyanci-patch-1
Browse files Browse the repository at this point in the history
CI:添加Cache Rust步骤 减少构建时长
  • Loading branch information
luyanci authored Mar 24, 2024
2 parents 8e50a24 + 624005c commit ca83d60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ jobs:
key: ${{ runner.OS }}-npm-frontend-cache
restore-keys: |
${{ runner.OS }}-npm-frontend-cache
- name: Cache Rust
uses: Swatinem/rust-cache@v2
with:
prefix-key: "Cache-${{ runner.os }}"
workspaces: "Genshin-Impact-Wish-Simulator/src-tauri"
- name: Install Dependencies
run: |
cd Genshin-Impact-Wish-Simulator
Expand Down

0 comments on commit ca83d60

Please sign in to comment.