File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 10
10
env :
11
11
CARGO_TERM_COLOR : always
12
12
RUSTC_WRAPPER : " sccache"
13
+ SCCACHE_GHA_ENABLED : " true"
13
14
14
15
jobs :
15
16
build :
@@ -37,13 +38,12 @@ jobs:
37
38
run : |
38
39
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
39
40
shell : bash
40
- - name : Cache cargo registry and sccache
41
+ - name : Cache cargo registry
41
42
uses : actions/cache@v3
42
43
continue-on-error : false
43
44
with :
44
45
path : |
45
46
~/.cargo/registry
46
- ~/.cache/sccache
47
47
key : rust-${{ runner.os }}-${{ matrix.rust }}-${{ hashFiles('**/Cargo.toml') }}-${{ steps.get-date.outputs.date }}-build
48
48
restore-keys : |
49
49
rust-${{ runner.os }}-${{ matrix.rust }}-${{ hashFiles('**/Cargo.toml') }}-
@@ -97,13 +97,12 @@ jobs:
97
97
run : |
98
98
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
99
99
shell : bash
100
- - name : Cache cargo registry and sccache
100
+ - name : Cache cargo registry
101
101
uses : actions/cache@v3
102
102
continue-on-error : false
103
103
with :
104
104
path : |
105
105
~/.cargo/registry
106
- ~/.cache/sccache
107
106
key : rust-${{ runner.os }}-${{ matrix.rust }}-${{ hashFiles('**/Cargo.toml') }}-${{ steps.get-date.outputs.date }}-build
108
107
restore-keys : |
109
108
rust-${{ runner.os }}-${{ matrix.rust }}-${{ hashFiles('**/Cargo.toml') }}-
Original file line number Diff line number Diff line change 12
12
env :
13
13
CARGO_TERM_COLOR : always
14
14
RUSTC_WRAPPER : " sccache"
15
+ SCCACHE_GHA_ENABLED : " true"
16
+
15
17
16
18
jobs :
17
19
build :
@@ -57,13 +59,12 @@ jobs:
57
59
run : |
58
60
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
59
61
shell : bash
60
- - name : Cache cargo registry and sccache
62
+ - name : Cache cargo registry
61
63
uses : actions/cache@v3
62
64
continue-on-error : false
63
65
with :
64
66
path : |
65
67
~/.cargo/registry
66
- ~/.cache/sccache
67
68
key : rust-${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml') }}-${{ steps.get-date.outputs.date }}-build
68
69
restore-keys : |
69
70
rust-${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml') }}
@@ -135,7 +136,6 @@ jobs:
135
136
with :
136
137
path : |
137
138
~/.cargo/registry
138
- ~/.cache/sccache
139
139
key : rust-${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml') }}-${{ steps.get-date.outputs.date }}-build
140
140
restore-keys : |
141
141
rust-${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml') }}
You can’t perform that action at this time.
0 commit comments