..
Some checks failed
Java CI with Maven / build (push) Failing after 9s

This commit is contained in:
2025-11-21 19:29:35 +01:00
parent dbf180215d
commit be4e036e46

View File

@@ -1,11 +1,3 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Java CI with Maven name: Java CI with Maven
on: on:
@@ -16,16 +8,12 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: maven:3.9.4-eclipse-temurin-21 # Maven + JDK 21 vorinstalliert
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v3 - name: Build with Maven
with: run: mvn -B package --file pom.xml
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml