name: Java CI with Maven on: push: branches: [ "master" ] pull_request: branches: [ "master" ] jobs: build: runs-on: ubuntu-latest container: image: maven:3.9.4-eclipse-temurin-21 # Maven + JDK 21 vorinstalliert steps: - uses: actions/checkout@v4 - name: Build with Maven run: mvn -B package --file pom.xml