Skip to content

Commit e5b69be

Browse files
committed
Attempt to cache maven dependencies in github runner
1 parent ad9a434 commit e5b69be

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/pr.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ jobs:
2020
with:
2121
java-version: 1.8
2222
java-package: jdk+fx
23+
- name: Cache Maven dependencies
24+
uses: actions/cache@v2
25+
with:
26+
path: ~/.m2
27+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
28+
restore-keys: |
29+
${{ runner.os }}-m2
2330
- name: Run Unit Tests
2431
run: |
2532
cd maven

0 commit comments

Comments
 (0)