1
Fork 0

[gh actions] Cache target dir for specific rustc version

This commit is contained in:
bjorn3 2020-03-13 19:24:17 +01:00
parent 512b33f001
commit 133b05b3a4

View file

@ -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"