Skip to content

Commit 7de975d

Browse files
committed
Added maven cache
1 parent 72ad0bd commit 7de975d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/maven.yml

+6
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,11 @@ jobs:
7272
distribution: 'temurin'
7373
java-version: '11'
7474
cache: 'maven'
75+
- name: Cache maven packages
76+
uses: actions/cache@v3
77+
with:
78+
path: ~/.m2
79+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
80+
restore-keys: ${{ runner.os }}-m2
7581
- name: Build and analyze
7682
run: mvn -B compile

0 commit comments

Comments
 (0)