mirror of
https://github.com/gaoyifan/china-operator-ip.git
synced 2025-12-16 06:13:15 +08:00
ci: Update GitHub Actions cache to v5, refine key, and add restore keys for cargo bins.
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -19,9 +19,11 @@ jobs:
|
|||||||
- uses: cargo-bins/cargo-binstall@main
|
- uses: cargo-bins/cargo-binstall@main
|
||||||
- run: sudo apt-get install -y tree jq axel
|
- run: sudo apt-get install -y tree jq axel
|
||||||
- uses: extractions/setup-just@v3
|
- uses: extractions/setup-just@v3
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
key: ${{ runner.os }}-build-dependencies
|
key: ${{ runner.os }}-cargo-bin-${{ hashFiles('justfile') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-cargo-bin-
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/bin
|
~/.cargo/bin
|
||||||
- run: just dependency
|
- run: just dependency
|
||||||
|
|||||||
Reference in New Issue
Block a user