mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 18:40:57 +03:00
[gh actions] Cache target dir for specific rustc version
This commit is contained in:
@@ -22,6 +22,12 @@ jobs:
|
||||
path: ~/.cargo/bin
|
||||
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
|
||||
run: |
|
||||
git config --global user.email "user@example.com"
|
||||
|
||||
Reference in New Issue
Block a user