|
|
|
|
|
|
|
|
- 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: lib |
|
|
|
|
|
# An explicit key for restoring and saving the cache |
|
|
|
|
|
key: poi-third-party-libs |
|
|
|
|
|
|
|
|
path: ~/.m2/repository |
|
|
|
|
|
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} |
|
|
|
|
|
restore-keys: | |
|
|
|
|
|
${{ 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) |