From eab34c9b3f9ad42394e9c1d41429bd318233fc21 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Jan 2024 08:59:37 +0800 Subject: [PATCH] Bump actions/cache from 3 to 4 (#17636) Bumps [actions/cache](https://github.com/actions/cache) from 3 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/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/gradle-plugin-tests.yaml | 2 +- .github/workflows/gradle-test.yaml | 4 ++-- .github/workflows/linux.yaml | 4 ++-- .github/workflows/maven-plugin-tests.yaml | 2 +- .github/workflows/openapi-generator.yaml | 4 ++-- .github/workflows/samples-dart.yaml | 2 +- .github/workflows/samples-groovy.yaml | 2 +- .github/workflows/samples-java-client-echo-api-jdk11.yaml | 2 +- .github/workflows/samples-java-client-echo-api-jdk8.yaml | 2 +- .github/workflows/samples-java-client-jdk11.yaml | 2 +- .github/workflows/samples-java-client-jdk17.yaml | 2 +- .github/workflows/samples-java-helidon.yaml | 2 +- .github/workflows/samples-java-play-framework.yaml | 2 +- .github/workflows/samples-java-server-jdk8.yaml | 2 +- .github/workflows/samples-java-wiremock.yaml | 2 +- .github/workflows/samples-jaxrs-jdk11.yaml | 2 +- .github/workflows/samples-jaxrs.yaml | 2 +- .github/workflows/samples-jdk17.yaml | 2 +- .github/workflows/samples-kotlin-client.yaml | 2 +- .github/workflows/samples-kotlin-server-jdk17.yaml | 2 +- .github/workflows/samples-kotlin-server.yaml | 2 +- .github/workflows/samples-python-petstore.yaml | 2 +- .github/workflows/samples-python-pydantic-v1-petstore.yaml | 2 +- .github/workflows/samples-scala.yaml | 2 +- .github/workflows/samples-spring-jdk17.yaml | 2 +- .github/workflows/samples-spring.yaml | 2 +- .github/workflows/windows.yaml | 2 +- 27 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/gradle-plugin-tests.yaml b/.github/workflows/gradle-plugin-tests.yaml index 135a74263c30..bd1f2d21c9ff 100644 --- a/.github/workflows/gradle-plugin-tests.yaml +++ b/.github/workflows/gradle-plugin-tests.yaml @@ -20,7 +20,7 @@ jobs: java-version: 11 distribution: 'temurin' - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-maven-repository with: diff --git a/.github/workflows/gradle-test.yaml b/.github/workflows/gradle-test.yaml index 7bf6cce1d635..8923e20077b6 100644 --- a/.github/workflows/gradle-test.yaml +++ b/.github/workflows/gradle-test.yaml @@ -37,14 +37,14 @@ jobs: java-version: 11 # Cache Gradle Dependencies - name: Setup Gradle Dependencies Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts') }} # Cache Gradle Wrapper - name: Setup Gradle Wrapper Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.gradle/wrapper key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index 6bb3083d76a2..ea2ad33a39fc 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -28,14 +28,14 @@ jobs: distribution: 'temurin' java-version: ${{ matrix.java }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('pom.xml', 'modules/**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.gradle/caches diff --git a/.github/workflows/maven-plugin-tests.yaml b/.github/workflows/maven-plugin-tests.yaml index c64c9d14748e..4844576096b6 100644 --- a/.github/workflows/maven-plugin-tests.yaml +++ b/.github/workflows/maven-plugin-tests.yaml @@ -20,7 +20,7 @@ jobs: java-version: 11 distribution: 'temurin' - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-maven-repository with: diff --git a/.github/workflows/openapi-generator.yaml b/.github/workflows/openapi-generator.yaml index 177297ad00f7..1e9fb800ba5f 100644 --- a/.github/workflows/openapi-generator.yaml +++ b/.github/workflows/openapi-generator.yaml @@ -22,7 +22,7 @@ jobs: java-version: 11 distribution: 'temurin' - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-maven-repository with: @@ -60,7 +60,7 @@ jobs: java-version: 11 distribution: 'temurin' - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-maven-repository with: diff --git a/.github/workflows/samples-dart.yaml b/.github/workflows/samples-dart.yaml index a2c4f59d8108..02b6c487ac88 100644 --- a/.github/workflows/samples-dart.yaml +++ b/.github/workflows/samples-dart.yaml @@ -24,7 +24,7 @@ jobs: java-version: 11 cache: maven - name: Cache test dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: pub-cache with: diff --git a/.github/workflows/samples-groovy.yaml b/.github/workflows/samples-groovy.yaml index 8a5a20bc5553..68c38aaa6ede 100644 --- a/.github/workflows/samples-groovy.yaml +++ b/.github/workflows/samples-groovy.yaml @@ -27,7 +27,7 @@ jobs: distribution: 'temurin' java-version: 8 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-java-client-echo-api-jdk11.yaml b/.github/workflows/samples-java-client-echo-api-jdk11.yaml index f1fe59ac1fee..96635a4d3f92 100644 --- a/.github/workflows/samples-java-client-echo-api-jdk11.yaml +++ b/.github/workflows/samples-java-client-echo-api-jdk11.yaml @@ -28,7 +28,7 @@ jobs: distribution: 'temurin' java-version: 11 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-java-client-echo-api-jdk8.yaml b/.github/workflows/samples-java-client-echo-api-jdk8.yaml index a8d874db664f..2c5cbb93711e 100644 --- a/.github/workflows/samples-java-client-echo-api-jdk8.yaml +++ b/.github/workflows/samples-java-client-echo-api-jdk8.yaml @@ -35,7 +35,7 @@ jobs: distribution: 'temurin' java-version: 8 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-java-client-jdk11.yaml b/.github/workflows/samples-java-client-jdk11.yaml index 605eca642eac..358ea1b02c31 100644 --- a/.github/workflows/samples-java-client-jdk11.yaml +++ b/.github/workflows/samples-java-client-jdk11.yaml @@ -78,7 +78,7 @@ jobs: distribution: 'temurin' java-version: 11 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-java-client-jdk17.yaml b/.github/workflows/samples-java-client-jdk17.yaml index a0085de209db..65bdb2a3413b 100644 --- a/.github/workflows/samples-java-client-jdk17.yaml +++ b/.github/workflows/samples-java-client-jdk17.yaml @@ -27,7 +27,7 @@ jobs: distribution: 'temurin' java-version: 17 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-java-helidon.yaml b/.github/workflows/samples-java-helidon.yaml index 3a2e97e18b13..0ea61f91ff52 100644 --- a/.github/workflows/samples-java-helidon.yaml +++ b/.github/workflows/samples-java-helidon.yaml @@ -29,7 +29,7 @@ jobs: distribution: 'temurin' java-version: ${{ matrix.version }} - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-java-play-framework.yaml b/.github/workflows/samples-java-play-framework.yaml index 73d220624384..f4e6d8e8597c 100644 --- a/.github/workflows/samples-java-play-framework.yaml +++ b/.github/workflows/samples-java-play-framework.yaml @@ -35,7 +35,7 @@ jobs: distribution: 'temurin' java-version: 11 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-java-server-jdk8.yaml b/.github/workflows/samples-java-server-jdk8.yaml index b984fa19d8be..51de7249423f 100644 --- a/.github/workflows/samples-java-server-jdk8.yaml +++ b/.github/workflows/samples-java-server-jdk8.yaml @@ -38,7 +38,7 @@ jobs: distribution: 'temurin' java-version: 8 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-java-wiremock.yaml b/.github/workflows/samples-java-wiremock.yaml index d6a6df2ad7d0..4398c723236f 100644 --- a/.github/workflows/samples-java-wiremock.yaml +++ b/.github/workflows/samples-java-wiremock.yaml @@ -23,7 +23,7 @@ jobs: distribution: 'temurin' java-version: 11 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-jaxrs-jdk11.yaml b/.github/workflows/samples-jaxrs-jdk11.yaml index 07581168ad64..0af4e77544a2 100644 --- a/.github/workflows/samples-jaxrs-jdk11.yaml +++ b/.github/workflows/samples-jaxrs-jdk11.yaml @@ -24,7 +24,7 @@ jobs: distribution: 'temurin' java-version: 11 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-jaxrs.yaml b/.github/workflows/samples-jaxrs.yaml index 1e8f80d4851d..3e709c111d9d 100644 --- a/.github/workflows/samples-jaxrs.yaml +++ b/.github/workflows/samples-jaxrs.yaml @@ -44,7 +44,7 @@ jobs: distribution: 'temurin' java-version: 8 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-jdk17.yaml b/.github/workflows/samples-jdk17.yaml index 9ea67b210e1d..41ebe0190d9c 100644 --- a/.github/workflows/samples-jdk17.yaml +++ b/.github/workflows/samples-jdk17.yaml @@ -54,7 +54,7 @@ jobs: distribution: 'temurin' java-version: 17 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-kotlin-client.yaml b/.github/workflows/samples-kotlin-client.yaml index d42d47717f0f..7ec4a90ece25 100644 --- a/.github/workflows/samples-kotlin-client.yaml +++ b/.github/workflows/samples-kotlin-client.yaml @@ -75,7 +75,7 @@ jobs: distribution: 'temurin' java-version: 8 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-kotlin-server-jdk17.yaml b/.github/workflows/samples-kotlin-server-jdk17.yaml index f36a3fa48382..79186a7e1776 100644 --- a/.github/workflows/samples-kotlin-server-jdk17.yaml +++ b/.github/workflows/samples-kotlin-server-jdk17.yaml @@ -38,7 +38,7 @@ jobs: distribution: 'temurin' java-version: 17 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-kotlin-server.yaml b/.github/workflows/samples-kotlin-server.yaml index cce5b85a54d1..8777ffcbeccd 100644 --- a/.github/workflows/samples-kotlin-server.yaml +++ b/.github/workflows/samples-kotlin-server.yaml @@ -50,7 +50,7 @@ jobs: distribution: 'temurin' java-version: 8 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-python-petstore.yaml b/.github/workflows/samples-python-petstore.yaml index 4cf215d0c8d9..c04b857a4bab 100644 --- a/.github/workflows/samples-python-petstore.yaml +++ b/.github/workflows/samples-python-petstore.yaml @@ -39,7 +39,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: ${{ runner.os }}-python-${{ steps.py.outputs.python-version }}- path: | diff --git a/.github/workflows/samples-python-pydantic-v1-petstore.yaml b/.github/workflows/samples-python-pydantic-v1-petstore.yaml index cf898074d30e..1d3ff5878600 100644 --- a/.github/workflows/samples-python-pydantic-v1-petstore.yaml +++ b/.github/workflows/samples-python-pydantic-v1-petstore.yaml @@ -39,7 +39,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: ${{ runner.os }}-python-${{ steps.py.outputs.python-version }}- path: | diff --git a/.github/workflows/samples-scala.yaml b/.github/workflows/samples-scala.yaml index 9e9eb8c249ed..953b35355c79 100644 --- a/.github/workflows/samples-scala.yaml +++ b/.github/workflows/samples-scala.yaml @@ -39,7 +39,7 @@ jobs: distribution: 'temurin' java-version: 8 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-spring-jdk17.yaml b/.github/workflows/samples-spring-jdk17.yaml index 10206fafe070..76a6aa76ceaf 100644 --- a/.github/workflows/samples-spring-jdk17.yaml +++ b/.github/workflows/samples-spring-jdk17.yaml @@ -24,7 +24,7 @@ jobs: distribution: 'temurin' java-version: 17 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/samples-spring.yaml b/.github/workflows/samples-spring.yaml index 60279c833753..063c38e566cd 100644 --- a/.github/workflows/samples-spring.yaml +++ b/.github/workflows/samples-spring.yaml @@ -64,7 +64,7 @@ jobs: distribution: 'temurin' java-version: 8 - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: maven-repository with: diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml index ddb2d75a7138..211fa1a40b4a 100644 --- a/.github/workflows/windows.yaml +++ b/.github/workflows/windows.yaml @@ -25,7 +25,7 @@ jobs: java-version: ${{ matrix.java }} distribution: 'temurin' - name: Cache maven dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-maven-repository with: