Update build.yml

This commit is contained in:
禾几海
2021-10-05 15:24:38 +08:00
committed by GitHub
parent 4879a4bb79
commit d07b1f9b96

View File

@@ -37,5 +37,13 @@ jobs:
# Gitee存储库的SSH URL.
gitee-repo: git@gitee.com:xiaohai2271/blog-backEnd.git
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Unit Test
run: mvn package -B -pl blog-deploy -am