ci: cache dependencies.
This commit is contained in:
parent
e2c3d18d63
commit
585b4420b0
@ -24,8 +24,13 @@ jobs:
|
||||
- name: Cache Dependencies
|
||||
uses: https://github.com/actions/cache@v3
|
||||
with:
|
||||
path: ./target
|
||||
key: ${{ runner.os }}-release-${{ hashFiles('**/Cargo.lock') }}
|
||||
path: |
|
||||
~/.cargo/bin/
|
||||
~/.cargo/registry/index/
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: Cache Executable Binary
|
||||
uses: https://github.com/actions/cache@v3
|
||||
|
Loading…
Reference in New Issue
Block a user