blob: a41d0a9dab41ff715fad227335a092c4b642f4fe [file] [log] [blame] [raw]
name: CI
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [16]
name: CI (Java ${{ matrix.java }})
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Cache
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Cache Maven
run: mvn -T 1C -B dependency:go-offline
- name: Build with Maven
run: mvn -Dmaven.test.skip=true -T 1C -B package -Pbuild-extras
env:
JAVA_TOOL_OPTIONS: -Xmx2G