Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 23cf657

Browse files
committed
[SORMAS-Foundation#3730] actions cache for mvn packages
1 parent 2553ea4 commit 23cf657

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ jobs:
2222
uses: actions/setup-java@v1
2323
with:
2424
java-version: ${{ matrix.java }}
25+
- name: Cache Maven packages
26+
uses: actions/cache@v2
27+
with:
28+
path: ~/.m2
29+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
30+
restore-keys: ${{ runner.os }}-m2
2531
- name: Build with Maven
2632
run: |
2733
cd sormas-base

0 commit comments

Comments
 (0)