Skip to content

---

--- #2636

Workflow file for this run

name: 'Build'
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
steps:
- uses: actions/checkout@v4
- name: 'Set up JDK 21'
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: maven
- name: 'Build project'
run: mvn -v && mvn -B clean install
- name: 'Prepare Sonar analysis'
uses: evaristegalois11/sonar-fork-analysis@v1