Skip to content

Commit f933dd0

Browse files
committed
Upgrade actions/cache to v4 in github actions
1 parent 11cc4cf commit f933dd0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/draft-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
distribution: 'adopt'
3030
java-version: '17'
3131
- name: Cache Maven packages
32-
uses: actions/cache@v2
32+
uses: actions/cache@v4
3333
with:
3434
path: ~/.m2
3535
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}

.github/workflows/java-continuous-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
distribution: 'adopt'
3131
java-version: 17
3232
- name: Cache Maven packages
33-
uses: actions/cache@v2
33+
uses: actions/cache@v4
3434
with:
3535
path: ~/.m2
3636
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -56,13 +56,13 @@ jobs:
5656
distribution: 'adopt'
5757
java-version: '17'
5858
- name: Cache Maven packages
59-
uses: actions/cache@v2
59+
uses: actions/cache@v4
6060
with:
6161
path: ~/.m2
6262
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
6363
restore-keys: ${{ runner.os }}-m2
6464
- name: Cache SonarCloud packages
65-
uses: actions/cache@v2
65+
uses: actions/cache@v4
6666
with:
6767
path: ~/.sonar/cache
6868
key: ${{ runner.os }}-sonar

0 commit comments

Comments
 (0)