Skip to content

Commit

Permalink
Use actions/cache@v2.1.3 to cache local maven repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Feb 8, 2021
1 parent 4e67aff commit 06e38ac
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,14 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache local Maven repository
uses: actions/cache@v2.1.3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -V -ntp clean verify --file pom.xml '-Djenkins.test.timeout=5000'
env:
BROWSER: chrome-container
run: mvn -V -ntp clean verify --file pom.xml '-Djenkins.test.timeout=5000' '-Dgpg.skip'

0 comments on commit 06e38ac

Please sign in to comment.