Skip to content

Commit

Permalink
Update actions/cache action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jan 21, 2024
1 parent 742e978 commit 9af6b5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
echo "svt_av1_version=${SVT_AV1_VERSION}" >> "$GITHUB_OUTPUT"
- name: Cache libvpx ${{ steps.versions.outputs.libvpx_version }}
id: cache-libvpx
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: third_party/libvpx
key: ${{ matrix.os }}-third_party-libvpx-${{ hashFiles(format('third_party/libvpx/{0}/libvpx.a', matrix.os)) }}
Expand All @@ -68,7 +68,7 @@ jobs:
run: rm -rf third_party/libvpx
- name: Cache SVT-AV1 ${{ steps.versions.outputs.svt_av1_version }}
id: cache-svt-av1
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: third_party/SVT-AV1
key: ${{ matrix.os }}-third_party-svt-av1-${{ hashFiles('third_party/SVT-AV1/Bin/Release/libSvtAv1Dec.a', 'third_party/SVT-AV1/Bin/Release/libSvtAv1Enc.a') }}
Expand All @@ -78,7 +78,7 @@ jobs:
run: rm -rf third_party/SVT-AV1
- name: Cache release directory
id: cache-release
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: release/${{ matrix.os }}/_deps
key: ${{ matrix.os }}-release-deps-${{ hashFiles(format('release/{0}/Makefile', matrix.os)) }}
Expand All @@ -92,15 +92,15 @@ jobs:
TZ=UTC echo "timestamp=$(TZ=UTC date +%Y-%m-%d-%H:%M:%S)" >> "$GITHUB_OUTPUT"
- name: Cache ~/.ccache directory
id: cache-ccache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.ccache
key: ${{ matrix.os }}-ccache-dir-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
restore-keys: ${{ matrix.os }}-ccache-dir-
- name: Ccache stat
run: ccache -s
- name: Cache ~/.cache/bazel directory
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "~/.cache/bazel"
key: ${{ matrix.os }}-cache-bazel-dir
Expand Down

0 comments on commit 9af6b5a

Please # to comment.