File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 54
54
# contains package information of crates installed via `cargo install`.
55
55
~/.cargo/.crates.toml
56
56
~/.cargo/.crates2.json
57
- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
58
- restore-keys : ${{ runner.os }}-cargo
59
-
60
- # Since #2806 we no longer install these binaries to ~/.cargo/bin, so the binaries restored by the cache
61
- # don't work, but they take precedence on PATH so we need to manually delete them for a while.
62
- - name : Delete stale miri and cargo-miri binaries
63
- shell : bash
64
- run : rm -f ~/.cargo/bin/{miri,cargo-miri}
57
+ key : ${{ runner.os }}-cargo-installfix-${{ hashFiles('**/Cargo.lock') }}
58
+ restore-keys : ${{ runner.os }}-cargo-installfix
65
59
66
60
- name : Install rustup-toolchain-install-master
67
61
if : ${{ steps.cache.outputs.cache-hit != 'true' }}
@@ -112,8 +106,8 @@ jobs:
112
106
# contains package information of crates installed via `cargo install`.
113
107
~/.cargo/.crates.toml
114
108
~/.cargo/.crates2.json
115
- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
116
- restore-keys : ${{ runner.os }}-cargo
109
+ key : ${{ runner.os }}-cargo-installfix- ${{ hashFiles('**/Cargo.lock') }}
110
+ restore-keys : ${{ runner.os }}-cargo-installfix
117
111
118
112
- name : Install rustup-toolchain-install-master
119
113
if : ${{ steps.cache.outputs.cache-hit != 'true' }}
You can’t perform that action at this time.
0 commit comments