File tree Expand file tree Collapse file tree 3 files changed +3
-36
lines changed Expand file tree Collapse file tree 3 files changed +3
-36
lines changed Original file line number Diff line number Diff line change 1414 runs-on : ' macos-13'
1515 steps :
1616 - uses : actions/checkout@v4
17-
18- - name : Emit rustc version
19- run : |
20- rustc --version > .rustc-version
21-
22- - uses : actions/cache@v4
23- with :
24- path : |
25- ~/.cargo/registry
26- ~/.cargo/git
27- target
28- key : ${{ runner.os }}-pythonbuild-${{ hashFiles('Cargo.lock', '.rustc-version') }}
17+ - uses : Swatinem/rust-cache@v2
2918
3019 - name : Build
3120 run : |
Original file line number Diff line number Diff line change 1919 sudo apt install -y --no-install-recommends libssl-dev pkg-config
2020
2121 - uses : actions/checkout@v4
22-
23- - name : Emit rustc version
24- run : |
25- rustc --version > .rustc-version
26-
27- - uses : actions/cache@v4
28- with :
29- path : |
30- ~/.cargo/registry
31- ~/.cargo/git
32- target
33- key : ${{ runner.os }}-pythonbuild-${{ hashFiles('Cargo.lock', '.rustc-version') }}
22+ - uses : Swatinem/rust-cache@v2
3423
3524 - name : Build
3625 run : |
Original file line number Diff line number Diff line change 1414 runs-on : ' windows-2022'
1515 steps :
1616 - uses : actions/checkout@v4
17-
18- - name : Emit rustc version
19- run : |
20- rustc --version > .rustc-version
21-
22- - uses : actions/cache@v4
23- with :
24- path : |
25- C:/Rust/.cargo/registry
26- C:/Rust/.cargo/git
27- target
28- key : ${{ runner.os }}-pythonbuild-${{ hashFiles('Cargo.lock', '.rustc-version') }}
17+ - uses : Swatinem/rust-cache@v2
2918
3019 - name : Build
3120 run : |
You can’t perform that action at this time.
0 commit comments