Skip to content

Feature/GitHub workflow #1

Feature/GitHub workflow

Feature/GitHub workflow #1

Workflow file for this run

---
name: Build
env:
MAVEN_ARGS: -B -C -V -ntp -e
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
build:
name: Java ${{ matrix.java }} Maven
runs-on: ubuntu-latest
strategy:
matrix:
java: [17,21]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Build Project
run: mvn ${MAVEN_ARGS} clean install