Skip to content

Commit 8d89cc4

Browse files
committed
Update rust-cache GHA in deploy workflow
This action was way outdated, produced a lot of warnings and didn't seem to work anymore.
1 parent 406d953 commit 8d89cc4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
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/[email protected]
55+
uses: Swatinem/[email protected]
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)