Skip to content

Build

Build #427

Workflow file for this run

name: Build
on:
schedule:
- cron: "15 0 * * *"
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
name: build
strategy:
matrix:
java: ['21']
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
runs-on: ${{ matrix.os }}
env:
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version"
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build
run: >
./mvnw $MAVEN_CLI_OPTS
clean verify