File tree 3 files changed +3
-36
lines changed
3 files changed +3
-36
lines changed Original file line number Diff line number Diff line change 14
14
runs-on : ' macos-13'
15
15
steps :
16
16
- 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
29
18
30
19
- name : Build
31
20
run : |
Original file line number Diff line number Diff line change 19
19
sudo apt install -y --no-install-recommends libssl-dev pkg-config
20
20
21
21
- 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
34
23
35
24
- name : Build
36
25
run : |
Original file line number Diff line number Diff line change 14
14
runs-on : ' windows-2022'
15
15
steps :
16
16
- 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
29
18
30
19
- name : Build
31
20
run : |
You can’t perform that action at this time.
0 commit comments