Cache the Maven repository for the Java 11 build
This commit is contained in:
parent
a9b8189aa1
commit
a1f943c8ae
6
.github/workflows/ci-workflow.yml
vendored
6
.github/workflows/ci-workflow.yml
vendored
@ -64,5 +64,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
distribution: 'adopt' # See 'Supported distributions' for available options
|
distribution: 'adopt' # See 'Supported distributions' for available options
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
|
- uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: ~/.m2/repository
|
||||||
|
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-maven-
|
||||||
- name: Maven build
|
- name: Maven build
|
||||||
run: mvn verify -B -C -T1C -fae
|
run: mvn verify -B -C -T1C -fae
|
||||||
|
Loading…
x
Reference in New Issue
Block a user