update cache
This commit is contained in:
@ -11,13 +11,13 @@ jobs:
|
|||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Cargo target cache
|
- name: Cargo target cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: target
|
path: |
|
||||||
key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/Cargo.lock') }}
|
~/.cargo/registry
|
||||||
restore-keys: |
|
~/.cargo/git
|
||||||
${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.toml') }}
|
target
|
||||||
${{ runner.os }}-cargo-target
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
- name: Build project
|
- name: Build project
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user