Skip to content

Commit

Permalink
CI: Update cache action
Browse files Browse the repository at this point in the history
  • Loading branch information
Luni-4 authored and barrbrain committed May 28, 2020
1 parent 68c4f8f commit c49ca5e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/rav1e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
echo "$DAV1D_DEV_SHA256 libdav1d-dev_${DAV1D_VERSION}_amd64.deb" >> CHECKSUMS
echo "$DAV1D_LIB_SHA256 libdav1d4_${DAV1D_VERSION}_amd64.deb" >> CHECKSUMS
- name: Cache packages
uses: actions/cache@v1
uses: actions/cache@v2
continue-on-error: true
id: debs
with:
Expand Down Expand Up @@ -192,15 +192,15 @@ jobs:
cargo update
cargo --version > Cargo.version
- name: Cache cargo registry
uses: actions/cache@v1
uses: actions/cache@v2
continue-on-error: true
with:
path: ~/.cargo/registry/cache
key: ${{ runner.os }}-${{ matrix.conf }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.conf }}-cargo-registry-
- name: Cache sccache output
uses: actions/cache@v1
uses: actions/cache@v2
continue-on-error: true
with:
path: /home/runner/.cache/sccache
Expand Down Expand Up @@ -327,15 +327,15 @@ jobs:
cargo update
cargo --version > Cargo.version
- name: Cache cargo registry
uses: actions/cache@v1
uses: actions/cache@v2
continue-on-error: true
with:
path: ~/.cargo/registry/cache
key: ${{ runner.os }}-${{ matrix.conf }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.conf }}-cargo-registry-
- name: Cache sccache output
uses: actions/cache@v1
uses: actions/cache@v2
continue-on-error: true
with:
path: /Users/runner/Library/Caches/Mozilla.sccache
Expand Down Expand Up @@ -426,15 +426,15 @@ jobs:
cargo update
cargo --version > Cargo.version
- name: Cache cargo registry
uses: actions/cache@v1
uses: actions/cache@v2
continue-on-error: true
with:
path: ~/.cargo/registry/cache
key: ${{ runner.os }}-${{ matrix.conf }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-${{ matrix.conf }}-cargo-registry-
- name: Cache sccache output
uses: actions/cache@v1
uses: actions/cache@v2
continue-on-error: true
with:
path: C:\sccache
Expand Down

0 comments on commit c49ca5e

Please sign in to comment.