Skip to content

Commit 0d0d22a

Browse files
committed
Update actions/cache action to v5
1 parent 1b37e2f commit 0d0d22a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/check-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
java-version: ${{ matrix.java }}
4141

4242
- name: Cache Maven
43-
uses: actions/cache@v4
43+
uses: actions/cache@v5
4444
with:
4545
path: ~/.m2/repository
4646
key: ${{ runner.os }}-mvn-build-${{ hashFiles('**/pom.xml') }}
@@ -86,15 +86,15 @@ jobs:
8686
java-version: ${{ matrix.java }}
8787

8888
- name: Cache Maven
89-
uses: actions/cache@v4
89+
uses: actions/cache@v5
9090
with:
9191
path: ~/.m2/repository
9292
key: ${{ runner.os }}-mvn-checkstyle-${{ hashFiles('**/pom.xml') }}
9393
restore-keys: |
9494
${{ runner.os }}-mvn-checkstyle-
9595
9696
- name: CheckStyle Cache
97-
uses: actions/cache@v4
97+
uses: actions/cache@v5
9898
with:
9999
path: '**/target/checkstyle-cachefile'
100100
key: ${{ runner.os }}-checkstyle-${{ hashFiles('**/pom.xml') }}
@@ -122,15 +122,15 @@ jobs:
122122
java-version: ${{ matrix.java }}
123123

124124
- name: Cache Maven
125-
uses: actions/cache@v4
125+
uses: actions/cache@v5
126126
with:
127127
path: ~/.m2/repository
128128
key: ${{ runner.os }}-mvn-pmd-${{ hashFiles('**/pom.xml') }}
129129
restore-keys: |
130130
${{ runner.os }}-mvn-pmd-
131131
132132
- name: PMD Cache
133-
uses: actions/cache@v4
133+
uses: actions/cache@v5
134134
with:
135135
path: '**/target/pmd/pmd.cache'
136136
key: ${{ runner.os }}-pmd-${{ hashFiles('**/pom.xml') }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
# Try to reuse existing cache from check-build
3030
- name: Try restore Maven Cache
31-
uses: actions/cache/restore@v4
31+
uses: actions/cache/restore@v5
3232
with:
3333
path: ~/.m2/repository
3434
key: ${{ runner.os }}-mvn-build-${{ hashFiles('**/pom.xml') }}
@@ -179,7 +179,7 @@ jobs:
179179

180180
# Try to reuse existing cache from check-build
181181
- name: Try restore Maven Cache
182-
uses: actions/cache/restore@v4
182+
uses: actions/cache/restore@v5
183183
with:
184184
path: ~/.m2/repository
185185
key: ${{ runner.os }}-mvn-build-${{ hashFiles('**/pom.xml') }}

0 commit comments

Comments
 (0)