Add maven cache to speed up builds
@@ -35,6 +35,12 @@ jobs:
with:
repository: OpenLiberty/ci.common
path: ci.common
+ - name: Cache maven packages
+ uses: actions/cache@v1
+ with:
+ path: ~/.m2
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ restore-keys: ${{ runner.os }}-m2
- name: Install ci.common
run: |
cd ./ci.common
