aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/maven.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/maven.yml')
-rw-r--r--.github/workflows/maven.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 0a013bf15..93da5164e 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -39,6 +39,18 @@ jobs:
./mvnw -B --version
ant -version
+ - name: Set up cache for ~./m2/repository
+ uses: actions/cache@v3
+ with:
+ path: |
+ ~/.m2/repository
+ !~/.m2/repository/org/aspectj
+ key: maven-${{ runner.os }}-java-${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ maven-${{ runner.os }}-java-${{ matrix.java }}-
+ maven-${{ runner.os }}-
+ maven-
+
- name: Compile + package code
run: ./mvnw -B --file pom.xml -DskipTests package