mirror of https://github.com/apache/poi.git
Cache Maven repo during GitHub Actions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886257 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4fcd98573f
commit
0e6f8573f3
|
@ -25,10 +25,10 @@ jobs:
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache@v2.1.3
|
uses: actions/cache@v2.1.3
|
||||||
with:
|
with:
|
||||||
# A list of files, directories, and wildcard patterns to cache and restore
|
path: ~/.m2/repository
|
||||||
path: lib
|
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
# An explicit key for restoring and saving the cache
|
restore-keys: |
|
||||||
key: poi-third-party-libs
|
${{ runner.os }}-maven-
|
||||||
|
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: (cd sonar && mvn -B validate package --file pom.xml)
|
run: (cd sonar && mvn -B validate package --file pom.xml)
|
||||||
|
|
Loading…
Reference in New Issue