This commit is contained in:
parent
f99a63b267
commit
cb8c09a0f9
1 changed files with 3 additions and 3 deletions
|
|
@ -14,13 +14,13 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: https://github.com/actions/checkout@v3
|
||||
- name: Cache apt packages
|
||||
uses: https://github.com/actions/cache@v3
|
||||
uses: https://github.com/actions/cache@v2
|
||||
with:
|
||||
path: /var/cache/apt/archives
|
||||
key: apt-${{ runner.os }}-${{ hashFiles('**/apt-packages.txt') }}
|
||||
restore-keys: apt-${{ runner.os }}-
|
||||
- name: Cache cargo build
|
||||
uses: https://github.com/actions/cache@v3
|
||||
uses: https://github.com/actions/cache@v2
|
||||
with:
|
||||
path: target
|
||||
key: cargo-build-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
|
||||
# --- Cache apt packages ---
|
||||
- name: Cache cargo registry
|
||||
uses: https://github.com/actions/cache@v3
|
||||
uses: https://github.com/actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue