Browse Source

CI build: use Maven cache

Relates to #150.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tags/V1_9_19
Alexander Kriegisch 2 years ago
parent
commit
4878866c98
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      .github/workflows/maven.yml

+ 12
- 0
.github/workflows/maven.yml View File

@@ -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


Loading…
Cancel
Save