Skip to content

Commit 5b53016

Browse files
committed
[CI] Update GH workflows to use cache@v4
Signed-off-by: Chris Bono <chris.bono@broadcom.com>
1 parent d217602 commit 5b53016

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

.github/workflows/apps-plugin-milestone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
env:
2828
JF_URL: 'https://repo.spring.io'
2929
JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
30-
- uses: actions/cache@v2
30+
- uses: actions/cache@v4
3131
with:
3232
path: ~/.m2/repository
3333
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/apps-plugin-next-dev-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
version: 1.46.4
2929
env:
3030
JF_ARTIFACTORY_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
31-
- uses: actions/cache@v2
31+
- uses: actions/cache@v4
3232
with:
3333
path: ~/.m2/repository
3434
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/apps-plugin-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
env:
2424
JF_URL: 'https://repo.spring.io'
2525
JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
26-
- uses: actions/cache@v2
26+
- uses: actions/cache@v4
2727
with:
2828
path: ~/.m2/repository
2929
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/apps-plugin-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
java-version: 17
2929
distribution: temurin
30-
- uses: actions/cache@v2
30+
- uses: actions/cache@v4
3131
with:
3232
path: ~/.m2/repository
3333
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/ci-it.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
java-version: ${{ env.JAVA_VERSION }}
4343
distribution: 'liberica'
4444
- name: 'Configure: cache for maven dependencies'
45-
uses: actions/cache@v3
45+
uses: actions/cache@v4
4646
with:
4747
path: ~/.m2/repository
4848
key: maven-repo-${{ hashFiles('**/pom.xml') }}-it-${{ github.base_ref }}

.github/workflows/ci-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
java-version: '17'
4040
distribution: 'liberica'
4141
- name: 'Configure: cache for maven dependencies'
42-
uses: actions/cache@v3
42+
uses: actions/cache@v4
4343
with:
4444
path: ~/.m2/repository
4545
key: maven-repo-${{ hashFiles('**/pom.xml') }}-pr-${{ github.base_ref }}

.github/workflows/common.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ jobs:
173173
java-version: ${{ needs.parameters.outputs.jdk_build }}
174174
distribution: 'liberica'
175175
- name: 'Configure: cache for maven dependencies'
176-
uses: actions/cache@v3
176+
uses: actions/cache@v4
177177
with:
178178
path: ~/.m2/repository
179179
key: maven-repo-${{ hashFiles('**/pom.xml') }}-8-single-${{ inputs.branch }}
@@ -282,7 +282,7 @@ jobs:
282282
java-version: ${{ needs.parameters.outputs.jdk_build }}
283283
distribution: 'liberica'
284284
- name: 'Configure: cache for maven dependencies'
285-
uses: actions/cache@v3
285+
uses: actions/cache@v4
286286
with:
287287
path: ~/.m2/repository
288288
key: maven-repo-${{ hashFiles('**/pom.xml') }}-8-single-${{ inputs.branch }}
@@ -407,7 +407,7 @@ jobs:
407407
java-version: ${{ needs.parameters.outputs.jdk_build }}
408408
distribution: 'liberica'
409409
- name: 'Configure: cache for maven dependencies'
410-
uses: actions/cache@v3
410+
uses: actions/cache@v4
411411
with:
412412
path: ~/.m2/repository
413413
key: maven-repo-${{ hashFiles('**/pom.xml') }}-8-single-${{ inputs.branch }}
@@ -530,7 +530,7 @@ jobs:
530530
components: 'js'
531531
github-token: ${{ secrets.GITHUB_TOKEN }}
532532
- name: 'Configure: cache for maven dependencies'
533-
uses: actions/cache@v3
533+
uses: actions/cache@v4
534534
with:
535535
path: ~/.m2/repository
536536
key: maven-repo-${{ hashFiles('**/pom.xml') }}-8-single-${{ inputs.branch }}
@@ -651,7 +651,7 @@ jobs:
651651
components: 'js'
652652
github-token: ${{ secrets.GITHUB_TOKEN }}
653653
- name: 'Configure: cache for maven dependencies'
654-
uses: actions/cache@v3
654+
uses: actions/cache@v4
655655
with:
656656
path: ~/.m2/repository
657657
key: maven-repo-${{ hashFiles('**/pom.xml') }}-8-single-${{ inputs.branch }}

.github/workflows/descriptor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
java-version: ${{ needs.parameters.outputs.jdk_build }}
134134
distribution: 'liberica'
135135
- name: 'Configure: cache for maven dependencies'
136-
uses: actions/cache@v3
136+
uses: actions/cache@v4
137137
with:
138138
path: ~/.m2/repository
139139
key: maven-repo-${{ hashFiles('**/pom.xml') }}-8-single-${{ inputs.branch }}

0 commit comments

Comments
 (0)