Skip to content

Add simple workflows #3

Add simple workflows

Add simple workflows #3

Workflow file for this run

name: Build
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Cache m2 repo
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Validate with Maven
env:
MAVEN_OPTS: "-Xmx6144m"
run: mvn --batch-mode install