diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 2841212b..2b27e499 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -29,7 +29,7 @@ jobs: distribution: 'zulu' java-version: ${{ matrix.java }} - name: Cache Gradle - uses: actions/cache@v3 + uses: actions/cache@v4 env: java-version: ${{ matrix.java }} with: @@ -68,14 +68,14 @@ jobs: java-version: 17 - name: Cache SonarCloud packages if: env.SONAR_TOKEN != null - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar - name: Cache Gradle packages if: env.SONAR_TOKEN != null - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e6bddf9..0b79973e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: distribution: 'zulu' java-version: 17 - name: Cache Gradle - uses: actions/cache@v3 + uses: actions/cache@v4 env: java-version: 17 with: @@ -50,7 +50,7 @@ jobs: distribution: 'zulu' java-version: 17 - name: Cache Gradle - uses: actions/cache@v3 + uses: actions/cache@v4 env: java-version: 17 with: @@ -87,7 +87,7 @@ jobs: distribution: 'zulu' java-version: 11 - name: Cache Gradle - uses: actions/cache@v3 + uses: actions/cache@v4 env: java-version: 11 with: @@ -118,7 +118,7 @@ jobs: java-version: 11 - name: Cache Gradle - uses: actions/cache@v3 + uses: actions/cache@v4 env: java-version: 11 with: @@ -156,7 +156,7 @@ jobs: distribution: 'zulu' java-version: 17 - name: Cache Gradle - uses: actions/cache@v3 + uses: actions/cache@v4 env: java-version: 17 with: diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index f3044005..715a590d 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -25,7 +25,7 @@ jobs: distribution: 'zulu' java-version: 17 - name: Cache Gradle - uses: actions/cache@v3 + uses: actions/cache@v4 env: java-version: 17 with: @@ -53,7 +53,7 @@ jobs: distribution: 'zulu' java-version: 17 - name: Cache Gradle - uses: actions/cache@v3 + uses: actions/cache@v4 env: java-version: 17 with: @@ -85,7 +85,7 @@ jobs: distribution: 'zulu' java-version: 11 - name: Cache Gradle - uses: actions/cache@v3 + uses: actions/cache@v4 env: java-version: 11 with: @@ -115,7 +115,7 @@ jobs: distribution: 'zulu' java-version: 11 - name: Cache Gradle - uses: actions/cache@v3 + uses: actions/cache@v4 env: java-version: 11 with: @@ -152,13 +152,13 @@ jobs: distribution: 'zulu' java-version: 17 - name: Cache SonarCloud packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar - name: Cache Gradle packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}