Update build.yml
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -37,5 +37,13 @@ jobs:
|
|||||||
# Gitee存储库的SSH URL.
|
# Gitee存储库的SSH URL.
|
||||||
gitee-repo: git@gitee.com:xiaohai2271/blog-backEnd.git
|
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
|
- name: Unit Test
|
||||||
run: mvn package -B -pl blog-deploy -am
|
run: mvn package -B -pl blog-deploy -am
|
||||||
|
|||||||
Reference in New Issue
Block a user