Skip to content

Commit 58f619f

Browse files
authored
caching java dependencies in ci workflow
1 parent 1fae2f3 commit 58f619f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ jobs:
1313
java: [8, 11]
1414
steps:
1515
- uses: actions/checkout@v2
16+
- uses: actions/cache@v1
17+
with:
18+
path: ~/.m2/repository
19+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
20+
restore-keys: |
21+
${{ runner.os }}-maven-
1622
- name: Set up JDK
1723
uses: actions/setup-java@v1
1824
with:

0 commit comments

Comments
 (0)