Refactor cache configuration in build.yml

This commit is contained in:
Yifan Gao
2025-12-15 14:29:43 +08:00
committed by GitHub
parent d21a799648
commit 05a6ec52c6

View File

@@ -20,10 +20,8 @@ jobs:
- uses: actions/cache@v5 - uses: actions/cache@v5
with: with:
key: ${{ runner.os }}-cargo-bin-${{ hashFiles('justfile') }} key: ${{ runner.os }}-cargo-bin-${{ hashFiles('justfile') }}
restore-keys: | restore-keys: ${{ runner.os }}-cargo-bin-
${{ runner.os }}-cargo-bin- path: ~/.cargo/bin
path: |
~/.cargo/bin
- run: just dependency - run: just dependency
- uses: nick-fields/retry@v3 - uses: nick-fields/retry@v3
with: with: