Skip to content

Commit fd12200

Browse files
committed
Update actions/cache action to v6
1 parent 043af45 commit fd12200

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/check-build.yml

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

4242
- name: Cache Maven
43-
uses: actions/cache@v5
43+
uses: actions/cache@v6
4444
with:
4545
path: ~/.m2/repository
4646
key: ${{ runner.os }}-mvn-build-${{ hashFiles('**/pom.xml') }}
4747
restore-keys: |
4848
${{ runner.os }}-mvn-build-
4949
5050
- name: Cache Vaadin prod bundles
51-
uses: actions/cache@v5
51+
uses: actions/cache@v6
5252
with:
5353
path: |
5454
**/bundles/prod.bundle
@@ -102,15 +102,15 @@ jobs:
102102
java-version: ${{ matrix.java }}
103103

104104
- name: Cache Maven
105-
uses: actions/cache@v5
105+
uses: actions/cache@v6
106106
with:
107107
path: ~/.m2/repository
108108
key: ${{ runner.os }}-mvn-checkstyle-${{ hashFiles('**/pom.xml') }}
109109
restore-keys: |
110110
${{ runner.os }}-mvn-checkstyle-
111111
112112
- name: CheckStyle Cache
113-
uses: actions/cache@v5
113+
uses: actions/cache@v6
114114
with:
115115
path: '**/target/checkstyle-cachefile'
116116
key: ${{ runner.os }}-checkstyle-${{ hashFiles('**/pom.xml') }}
@@ -138,15 +138,15 @@ jobs:
138138
java-version: ${{ matrix.java }}
139139

140140
- name: Cache Maven
141-
uses: actions/cache@v5
141+
uses: actions/cache@v6
142142
with:
143143
path: ~/.m2/repository
144144
key: ${{ runner.os }}-mvn-pmd-${{ hashFiles('**/pom.xml') }}
145145
restore-keys: |
146146
${{ runner.os }}-mvn-pmd-
147147
148148
- name: PMD Cache
149-
uses: actions/cache@v5
149+
uses: actions/cache@v6
150150
with:
151151
path: '**/target/pmd/pmd.cache'
152152
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@v5
31+
uses: actions/cache/restore@v6
3232
with:
3333
path: ~/.m2/repository
3434
key: ${{ runner.os }}-mvn-build-${{ hashFiles('**/pom.xml') }}
@@ -182,7 +182,7 @@ jobs:
182182

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

0 commit comments

Comments
 (0)