Files
productmodel/.gitea/workflows/maven-build.yaml
JensBuehring 4a1fcb59f4
Some checks failed
Productmodel Java CI with Maven / build (push) Failing after 7m11s
Removed containerized Maven setup and updated workflow to use standard runner with JDK 22
2026-01-07 15:32:46 +01:00

31 lines
781 B
YAML

name: Productmodel Java CI with Maven
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
# 1. Checkout (braucht Node.js, welches im Standard-Runner vorhanden ist)
- name: Checkout Code
uses: actions/checkout@v3
# 2. Java installieren (da der Standard-Runner kein Java hat)
- name: Set up JDK 22
uses: actions/setup-java@v3
with:
java-version: '22'
distribution: 'temurin'
cache: 'maven' # Cache aktiviert für schnelleren 2. Build
# 3. Debugging (optional, zur Bestätigung)
- name: Debug Environment
run: |
java -version
mvn -version
# 4. Eigentlicher Build
- name: Build with Maven
run: mvn -B package