File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 33
33
- uses : actions/checkout@v4
34
34
- uses : actions/cache@v4
35
35
with :
36
- path : target
36
+ path : |
37
+ target/
38
+ !target/tmp/
39
+ !target/debug/incremental/
37
40
key : build-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
38
41
restore-keys : |
39
42
build-${{ runner.os }}-
46
49
- uses : actions/checkout@v4
47
50
- uses : actions/cache@v4
48
51
with :
49
- path : target
52
+ path : |
53
+ target/
54
+ !target/tmp/
55
+ !target/debug/incremental/
50
56
key : build-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
51
57
restore-keys : |
52
58
build-${{ runner.os }}-
59
65
- uses : actions/checkout@v4
60
66
- uses : actions/cache@v4
61
67
with :
62
- path : target
68
+ path : |
69
+ target/
70
+ !target/tmp/
71
+ !target/debug/incremental/
63
72
key : build-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
64
73
restore-keys : |
65
74
build-${{ runner.os }}-
76
85
ref : main
77
86
- uses : actions/cache@v4
78
87
with :
79
- path : target
88
+ path : |
89
+ target/
90
+ !target/tmp/
91
+ !target/debug/incremental/
80
92
key : build-${{ runner.os }}-${{ hashFiles('Cargo.lock', '.github/workflows/build_latest.yml') }}
81
93
restore-keys : |
82
94
build-${{ runner.os }}-
You can’t perform that action at this time.
0 commit comments