File tree Expand file tree Collapse file tree 3 files changed +3
-33
lines changed Expand file tree Collapse file tree 3 files changed +3
-33
lines changed Original file line number Diff line number Diff line change 2222 with :
2323 toolchain : stable
2424
25- - name : Emit rustc version
26- run : |
27- rustc --version > .rustc-version
28-
29- - uses : actions/cache@v4
30- with :
31- path : |
32- ~/.cargo/registry
33- ~/.cargo/git
34- target
35- key : ${{ runner.os }}-pythonbuild-${{ hashFiles('Cargo.lock', '.rustc-version') }}
25+ - uses : Swatinem/rust-cache@v2
3626
3727 - name : Build
3828 run : |
Original file line number Diff line number Diff line change 2727 with :
2828 toolchain : stable
2929
30- - name : Emit rustc version
31- run : |
32- rustc --version > .rustc-version
33-
34- - uses : actions/cache@v4
35- with :
36- path : |
37- ~/.cargo/registry
38- ~/.cargo/git
39- target
40- key : ${{ runner.os }}-pythonbuild-${{ hashFiles('Cargo.lock', '.rustc-version') }}
30+ - uses : Swatinem/rust-cache@v2
4131
4232 - name : Build
4333 run : |
Original file line number Diff line number Diff line change 2222 with :
2323 toolchain : stable
2424
25- - name : Emit rustc version
26- run : |
27- rustc --version > .rustc-version
28-
29- - uses : actions/cache@v4
30- with :
31- path : |
32- C:/Rust/.cargo/registry
33- C:/Rust/.cargo/git
34- target
35- key : ${{ runner.os }}-pythonbuild-${{ hashFiles('Cargo.lock', '.rustc-version') }}
25+ - uses : Swatinem/rust-cache@v2
3626
3727 - name : Build
3828 run : |
You can’t perform that action at this time.
0 commit comments