Skip to content

Commit

Permalink
build(deps): bump actions/cache from 3.3.3 to 4.0.0
Browse files Browse the repository at this point in the history
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.3 to 4.0.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3.3.3...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and dyphire committed Jan 18, 2024
1 parent 5e7df94 commit 6b01ff6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/mpv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
- name: Lookup Toolchain Cache
id: lookup_toolchain
uses: actions/cache/restore@v3.3.3
uses: actions/cache/restore@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/build${{ matrix.bit }}
key: toolchain-${{ inputs.compiler }}-build${{ matrix.bit }}-${{ env.cache_suffix }}
Expand All @@ -176,7 +176,7 @@ jobs:
lookup-only: true
- name: Lookup Build Cache
id: lookup_build
uses: actions/cache/restore@v3.3.3
uses: actions/cache/restore@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/build${{ matrix.bit }}
key: ${{ inputs.compiler }}-build${{ matrix.bit }}-${{ env.cache_suffix }}
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
- name: Keep inital clang sysroot cache alive
if: ${{ inputs.compiler =='clang' && env.toolchain_version }}
uses: actions/cache/restore@v3.3.3
uses: actions/cache/restore@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/clang_root
key: ${{ matrix.bit }}-clang_root-${{ env.toolchain_version }}
Expand All @@ -228,7 +228,7 @@ jobs:
lookup-only: true
- name: Keep llvm cache alive
if: ${{ inputs.compiler =='clang' }}
uses: actions/cache/restore@v3.3.3
uses: actions/cache/restore@v4.0.0
with:
path: mpv-winbuild-cmake/clang_root
key: llvm-${{ env.toolchain_version }}
Expand All @@ -237,37 +237,37 @@ jobs:
lookup-only: true
- name: Restore clang sysroot cache
if: ${{ inputs.compiler =='clang' && inputs.no_save_cache != true }}
uses: actions/cache/restore@v3.3.3
uses: actions/cache/restore@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/clang_root
key: ${{ matrix.bit }}-clang_root-${{ env.key_suffix }}
restore-keys: |
${{ matrix.bit }}-clang_root-${{ env.restore_suffix }}
- name: Restore Rust Cache
uses: actions/cache/restore@v3.3.3
uses: actions/cache/restore@v4.0.0
id: cache_rust
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/install_rustup
key: rust-${{ env.key_suffix }}
restore-keys: |
rust-${{ env.restore_suffix }}
- name: Restore Source Cache
uses: actions/cache/restore@v3.3.3
uses: actions/cache/restore@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/src_packages
key: source-${{ env.key_suffix }}
restore-keys: |
source-${{ env.restore_suffix }}
- name: Restore Toolchain Cache
if: ${{ env.toolchain_restore_key != '' }}
uses: actions/cache/restore@v3.3.3
uses: actions/cache/restore@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/build${{ matrix.bit }}
key: ${{ env.toolchain_restore_key }}
- name: Restore Build Cache
if: ${{ inputs.needclean != true && env.build_restore_key != '' }}
uses: actions/cache/restore@v3.3.3
uses: actions/cache/restore@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/build${{ matrix.bit }}
key: ${{ env.build_restore_key }}
Expand Down Expand Up @@ -399,26 +399,26 @@ jobs:

- name: Save clang sysroot cache
if: ${{ inputs.compiler =='clang' }}
uses: actions/cache/save@v3.3.3
uses: actions/cache/save@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/clang_root
key: ${{ matrix.bit }}-clang_root-${{ env.cache_suffix }}

- name: Save Sources Cache
if: ${{ inputs.no_save_cache != true }}
uses: actions/cache/save@v3.3.3
uses: actions/cache/save@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/src_packages
key: source-${{ env.cache_suffix }}
- name: Save Rust Cache
if: ${{ inputs.no_save_cache != true }}
uses: actions/cache/save@v3.3.3
uses: actions/cache/save@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/install_rustup
key: rust-${{ env.cache_suffix }}
- name: Save Build Cache
if: ${{ inputs.no_save_cache != true }}
uses: actions/cache/save@v3.3.3
uses: actions/cache/save@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/build${{ matrix.bit }}
key: ${{ env.build_save_key }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
fi
done
- name: Save llvm cache
uses: actions/cache/save@v3.3.3
uses: actions/cache/save@v4.0.0
with:
path: |
mpv-winbuild-cmake/clang_root
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:

- name: Restore llvm cache
if: ${{ inputs.compiler =='clang' }}
uses: actions/cache/restore@v3.3.3
uses: actions/cache/restore@v4.0.0
with:
fail-on-cache-miss: true
path: |
Expand Down Expand Up @@ -255,20 +255,20 @@ jobs:
- name: Save Toolchain Cache
if: ${{ inputs.no_save_cache != true }}
uses: actions/cache/save@v3.3.3
uses: actions/cache/save@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/build${{ matrix.bit }}
key: toolchain-${{ inputs.compiler }}-build${{ matrix.bit }}-${{ needs.params.outputs.cache_suffix }}

- name: Save clang_root cache
if: ${{ inputs.compiler =='clang' && inputs.no_save_cache != true }}
uses: actions/cache/save@v3.3.3
uses: actions/cache/save@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/clang_root
key: ${{ matrix.bit }}-clang_root-${{ needs.params.outputs.cache_suffix }}
- name: Save Rust Cache
if: ${{ inputs.no_save_cache != true }}
uses: actions/cache/save@v3.3.3
uses: actions/cache/save@v4.0.0
with:
path: ${{ github.workspace }}/mpv-winbuild-cmake/install_rustup
key: rust-${{ needs.params.outputs.cache_suffix }}
Expand Down

0 comments on commit 6b01ff6

Please sign in to comment.