mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:15:49 +00:00
Add caching for Maven dependencies
This commit is contained in:
parent
198de3e450
commit
dbcb240d3b
1 changed files with 7 additions and 0 deletions
7
.github/workflows/petclinic.yaml
vendored
7
.github/workflows/petclinic.yaml
vendored
|
@ -11,6 +11,13 @@ jobs:
|
|||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: '8'
|
||||
- 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-
|
||||
- run: echo "Hello Github Actions"
|
||||
- run: find
|
||||
- run: ./mvnw compile
|
||||
|
|
Loading…
Reference in a new issue