[gh actions] Cache target dir for specific rustc version
This commit is contained in:
parent
512b33f001
commit
133b05b3a4
1 changed files with 6 additions and 0 deletions
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -22,6 +22,12 @@ jobs:
|
||||||
path: ~/.cargo/bin
|
path: ~/.cargo/bin
|
||||||
key: cargo-installed-crates-${{ matrix.os }}
|
key: cargo-installed-crates-${{ matrix.os }}
|
||||||
|
|
||||||
|
- name: Cache target dir
|
||||||
|
uses: actions/cache@v1.1.2
|
||||||
|
with:
|
||||||
|
path: target
|
||||||
|
key: target-dir-${{ matrix.os }}-${{ hashFiles('rust-toolchain') }}
|
||||||
|
|
||||||
- name: Prepare dependencies
|
- name: Prepare dependencies
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "user@example.com"
|
git config --global user.email "user@example.com"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue