ci: add mvn m2 cache to snapshot publish workflow
MODIFY
.github/workflows/verify.yaml
.github/workflows/verify.yaml
@@ -85,6 +85,14 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v2
+ - 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-
+
- name: Set up JDK 8 (for deploying assets, docker builds, etc)
uses: actions/setup-java@v1
with:

ci: add mvn m2 cache to snapshot publish workflow