Skip to content

Commit c11028d

Browse files
committed
save cache also in test step
1 parent cf01a1b commit c11028d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build_and_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
uses: Swatinem/rust-cache@v2
8686
with:
8787
shared-key: "debug-build"
88-
save-if: false
88+
save-if: true
8989
cache-directories: |
9090
~/.cargo/bin/
9191
~/.cargo/registry/index/
@@ -126,7 +126,7 @@ jobs:
126126
uses: Swatinem/rust-cache@v2
127127
with:
128128
shared-key: "debug-build"
129-
save-if: false
129+
save-if: true
130130
cache-directories: |
131131
~/.cargo/bin/
132132
~/.cargo/registry/index/
@@ -165,7 +165,7 @@ jobs:
165165
uses: Swatinem/rust-cache@v2
166166
with:
167167
shared-key: "release-build"
168-
save-if: false
168+
save-if: true
169169
cache-directories: |
170170
~/.cargo/bin/
171171
~/.cargo/registry/index/
@@ -206,7 +206,7 @@ jobs:
206206
uses: Swatinem/rust-cache@v2
207207
with:
208208
shared-key: "release-build"
209-
save-if: false
209+
save-if: true
210210
cache-directories: |
211211
~/.cargo/bin/
212212
~/.cargo/registry/index/

0 commit comments

Comments
 (0)