Skip to content

Build

Build #96

Workflow file for this run

name: "Build"
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
java: [ 11, 17, 21 ]
steps:
- uses: actions/checkout@v4
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Build
run: mvn -B clean verify -Prelease
- name: Upload Rat Report On Failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: rat-${{ matrix.java }}
path: "**/target/rat.txt"
if-no-files-found: ignore