Skip to content

Commit 2a28242

Browse files
committed
maven cache
1 parent 7d1a3cf commit 2a28242

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/maven.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,19 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v4
3030

31+
- name: Cache Maven dependencies
32+
uses: actions/cache@v3
33+
with:
34+
path: ~/.m2/repository
35+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
36+
restore-keys: |
37+
${{ runner.os }}-maven-
38+
3139
- name: Set up JDK 17
3240
uses: actions/setup-java@v4
3341
with:
3442
java-version: '17'
3543
distribution: 'temurin'
36-
cache: maven
3744

3845
- name: Wait for PostgreSQL
3946
run: |

0 commit comments

Comments
 (0)