Bump actions/cache from 3 to 4 (#2038)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2024-01-18 08:55:26 +01:00
committed by GitHub
parent d1844628de
commit eb18a3cefc
10 changed files with 18 additions and 18 deletions

View File

@@ -70,7 +70,7 @@ jobs:
java-version: "17" java-version: "17"
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v3 uses: actions/cache@v4
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
with: with:
@@ -90,7 +90,7 @@ jobs:
key: ${{ github.job }} key: ${{ github.job }}
- name: restore-gradle-cache - name: restore-gradle-cache
uses: actions/cache@v3 uses: actions/cache@v4
env: env:
cache-name: gradle-v1 cache-name: gradle-v1
with: with:

View File

@@ -32,7 +32,7 @@ jobs:
shell: bash shell: bash
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v3 uses: actions/cache@v4
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
with: with:
@@ -54,7 +54,7 @@ jobs:
run: ccache --clear run: ccache --clear
- name: Cache ccache - name: Cache ccache
uses: actions/cache@v3 uses: actions/cache@v4
env: env:
cache-name: ccache-v1 cache-name: ccache-v1
with: with:
@@ -72,7 +72,7 @@ jobs:
ccache --show-stats ccache --show-stats
- name: restore-gradle-cache - name: restore-gradle-cache
uses: actions/cache@v3 uses: actions/cache@v4
env: env:
cache-name: gradle-v1 cache-name: gradle-v1
with: with:

View File

@@ -69,7 +69,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v3 uses: actions/cache@v4
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
with: with:
@@ -81,7 +81,7 @@ jobs:
${{ runner.os }}- ${{ runner.os }}-
- name: Cache Bazel - name: Cache Bazel
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }} key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }}
restore-keys: | restore-keys: |

View File

@@ -33,7 +33,7 @@ jobs:
gem list -i xcpretty || sudo gem install xcpretty gem list -i xcpretty || sudo gem install xcpretty
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v3 uses: actions/cache@v4
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
with: with:
@@ -51,7 +51,7 @@ jobs:
run: ccache --clear run: ccache --clear
- name: Cache ccache - name: Cache ccache
uses: actions/cache@v3 uses: actions/cache@v4
env: env:
cache-name: ccache-v1 cache-name: ccache-v1
with: with:

View File

@@ -191,7 +191,7 @@ jobs:
x11-xserver-utils x11-xserver-utils
- name: Cache Bazel - name: Cache Bazel
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }} key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }}
restore-keys: | restore-keys: |

View File

@@ -31,7 +31,7 @@ jobs:
brew list glfw || brew install glfw brew list glfw || brew install glfw
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v3 uses: actions/cache@v4
env: env:
cache-name: cache-node-modules cache-name: cache-node-modules
with: with:
@@ -49,7 +49,7 @@ jobs:
run: ccache --clear run: ccache --clear
- name: Cache ccache - name: Cache ccache
uses: actions/cache@v3 uses: actions/cache@v4
env: env:
cache-name: ccache-v1 cache-name: ccache-v1
with: with:

View File

@@ -188,7 +188,7 @@ jobs:
${{ matrix.runs-on }}-${{ env.BUILDTYPE }}-${{ github.job }} ${{ matrix.runs-on }}-${{ env.BUILDTYPE }}-${{ github.job }}
- name: Cache cmake-node-module deps - name: Cache cmake-node-module deps
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
# downloaded with platform/node/cmake/module.cmake # downloaded with platform/node/cmake/module.cmake
path: build/headers path: build/headers
@@ -222,7 +222,7 @@ jobs:
- name: Restore vcpkg cache (Windows) - name: Restore vcpkg cache (Windows)
if: runner.os == 'Windows' if: runner.os == 'Windows'
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: | path: |
${{ github.workspace }}/platform/windows/vendor/vcpkg ${{ github.workspace }}/platform/windows/vendor/vcpkg

View File

@@ -162,7 +162,7 @@ jobs:
${{ matrix.runs-on }}-${{ env.BUILDTYPE }}-${{ github.job }} ${{ matrix.runs-on }}-${{ env.BUILDTYPE }}-${{ github.job }}
- name: Cache cmake-node-module deps - name: Cache cmake-node-module deps
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
# downloaded with platform/node/cmake/module.cmake # downloaded with platform/node/cmake/module.cmake
path: build/headers path: build/headers
@@ -196,7 +196,7 @@ jobs:
- name: Restore vcpkg cache (Windows) - name: Restore vcpkg cache (Windows)
if: runner.os == 'Windows' if: runner.os == 'Windows'
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: | path: |
${{ github.workspace }}/platform/windows/vendor/vcpkg ${{ github.workspace }}/platform/windows/vendor/vcpkg

View File

@@ -27,7 +27,7 @@ jobs:
- name: Cache Bloaty - name: Cache Bloaty
id: cache-bloaty id: cache-bloaty
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: bloaty/build/bloaty path: bloaty/build/bloaty
key: bloaty-${{ env.bloaty_sha }} key: bloaty-${{ env.bloaty_sha }}

View File

@@ -46,7 +46,7 @@ jobs:
- name: Cache Bloaty - name: Cache Bloaty
id: cache-bloaty id: cache-bloaty
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: bloaty/build/bloaty path: bloaty/build/bloaty
key: bloaty-${{ env.bloaty_sha }} key: bloaty-${{ env.bloaty_sha }}