mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-04 18:48:38 +00:00
[gh actions] Cache target dir for specific rustc version
This commit is contained in:
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@@ -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