Skip to content

Commit

Permalink
CI: Cache cargo files for rav1e.
Browse files Browse the repository at this point in the history
  • Loading branch information
fancycode committed Feb 21, 2022
1 parent 88085ba commit 436a89d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Cache cargo for rav1e
uses: actions/cache@v2
with:
path:
|
~/.cargo/git
~/.cargo/registry
key: ${{ runner.os }}-cargo-rav1e-${{ hashFiles('third-party/rav1e.cmd') }}
if: ${{ env.WITH_RAV1E == '1' }}

- name: Install dependencies
run: |
./scripts/install-ci-linux.sh
Expand Down

0 comments on commit 436a89d

Please sign in to comment.