File tree Expand file tree Collapse file tree 2 files changed +14
-28
lines changed Expand file tree Collapse file tree 2 files changed +14
-28
lines changed Original file line number Diff line number Diff line change @@ -24,21 +24,14 @@ jobs:
24
24
if : matrix.config.kind == 'test_release'
25
25
run : rustup target add wasm32-unknown-unknown
26
26
27
- - name : Cache cargo registry
28
- uses : actions/cache@v1
27
+ - name : Cache cargo
28
+ uses : actions/cache@v2
29
29
with :
30
- path : ~/.cargo/registry
31
- key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
32
- - name : Cache cargo index
33
- uses : actions/cache@v1
34
- with :
35
- path : ~/.cargo/git
36
- key : ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
37
- - name : Cache cargo build
38
- uses : actions/cache@v1
39
- with :
40
- path : target
41
- key : ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
30
+ path : |
31
+ ~/.cargo/registry
32
+ ~/.cargo/git
33
+ target
34
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
42
35
43
36
- name : Build debug
44
37
if : matrix.config.kind == 'test_debug'
Original file line number Diff line number Diff line change @@ -34,21 +34,14 @@ jobs:
34
34
- name : Checkout
35
35
uses : actions/checkout@v2
36
36
37
- - name : Cache cargo registry
38
- uses : actions/cache@v1
37
+ - name : Cache cargo
38
+ uses : actions/cache@v2
39
39
with :
40
- path : ~/.cargo/registry
41
- key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
42
- - name : Cache cargo index
43
- uses : actions/cache@v1
44
- with :
45
- path : ~/.cargo/git
46
- key : ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
47
- - name : Cache cargo build
48
- uses : actions/cache@v1
49
- with :
50
- path : target
51
- key : ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
40
+ path : |
41
+ ~/.cargo/registry
42
+ ~/.cargo/git
43
+ target
44
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
52
45
53
46
- name : Cargo login
54
47
run : cargo login ${{ secrets.CRATES_TOKEN }}
You can’t perform that action at this time.
0 commit comments