add maven cache

This commit is contained in:
zhouhao 2020-02-19 20:07:57 +08:00
parent 841764c799
commit 5c1a096066
1 changed files with 6 additions and 1 deletions

View File

@ -13,5 +13,10 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache Maven Repository
uses: actions/cache@v1
with:
path: ~/.m2
key: jetlinks-community-maven-repository
- name: Build with Maven
run: mvn -B package
run: mvn -B package