Skip to content

Commit 4330a18

Browse files
committed
CI: Cache cargo files for rav1e.
1 parent 88085ba commit 4330a18

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ jobs:
2929
steps:
3030
- uses: actions/checkout@v2
3131

32+
- name: Cache cargo for rav1e
33+
uses: actions/cache@v2
34+
with:
35+
path:
36+
|
37+
~/.cargo/git
38+
~/.cargo/registry
39+
key: ${{ runner.os }}-cargo-rav1e-{{ hashFiles('third-party/rav1e.cmd') }}
40+
if: ${{ env.WITH_RAV1E == '1' }}
41+
3242
- name: Install dependencies
3343
run: |
3444
./scripts/install-ci-linux.sh

0 commit comments

Comments
 (0)