From f949c556ae0d83ee098734314a36a683269c3d44 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 07:08:40 +0000 Subject: [PATCH] Bump actions/cache from 2 to 4 Bumps [actions/cache](https://github.com/actions/cache) from 2 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build-and-check.yml | 14 +++++++------- .github/workflows/new-release.yml | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-and-check.yml b/.github/workflows/build-and-check.yml index 0dee7eda..54d1fe7b 100644 --- a/.github/workflows/build-and-check.yml +++ b/.github/workflows/build-and-check.yml @@ -41,7 +41,7 @@ jobs: java-version: ${{ matrix.java_version }} distribution: 'zulu' - name: Restore Gradle caches - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/.gradle/caches/modules-2 @@ -52,7 +52,7 @@ jobs: ${{ runner.os }}-gradle-cache- # Inspired by https://github.com/actions/cache/issues/432#issuecomment-740376179 - name: Restore TestKit cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | plugin/.gradle-test-kit/caches/modules-2 @@ -63,7 +63,7 @@ jobs: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradlew') }}- ${{ runner.os }}-gradle-wrapper- - name: Restore Gradle wrapper - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/.gradle/wrapper @@ -110,14 +110,14 @@ jobs: - name: Install checkbashisms run: sudo apt-get install -qq devscripts - name: Restore Gradle caches - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle.kts') }}-${{ hashFiles('**/gradle.properties') }} restore-keys: | ${{ runner.os }}-gradle-cache- - name: Restore Gradle wrapper - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradlew') }} @@ -140,14 +140,14 @@ jobs: java-version: 8 distribution: 'zulu' - name: Restore Gradle caches - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle.kts') }}-${{ hashFiles('**/gradle.properties') }} restore-keys: | ${{ runner.os }}-gradle-cache- - name: Restore Gradle wrapper - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradlew') }} diff --git a/.github/workflows/new-release.yml b/.github/workflows/new-release.yml index c693be8a..b291c78e 100644 --- a/.github/workflows/new-release.yml +++ b/.github/workflows/new-release.yml @@ -16,14 +16,14 @@ jobs: java-version: 8 distribution: 'zulu' - name: Restore Gradle caches - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-cache-${{ hashFiles('**/*.gradle.kts') }}-${{ hashFiles('**/gradle.properties') }} restore-keys: | ${{ runner.os }}-gradle-cache- - name: Restore Gradle wrapper - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradlew') }}