Skip to content

Commit edefa97

Browse files
committed
Auto merge of rust-lang#11824 - flip1995:ci-update-rust-cache-gha, r=Alexendoo
Update rust-cache GHA in deploy workflow This action was way outdated, produced a lot of warnings and didn't seem to work anymore. changelog: none
2 parents edb720b + 8d89cc4 commit edefa97

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ jobs:
5252
run: cargo generate-lockfile
5353

5454
- name: Cache
55-
uses: Swatinem/rust-cache@v1.3.0
55+
uses: Swatinem/rust-cache@v2.7.0
56+
with:
57+
save-if: ${{ github.ref == 'refs/heads/master' }}
5658

5759
- name: cargo collect-metadata
5860
run: cargo collect-metadata

0 commit comments

Comments
 (0)