From be4e036e4663e55b3f7d9220022c1b6b98884fbb Mon Sep 17 00:00:00 2001 From: WOBBLEFANG THE THIRD Date: Fri, 21 Nov 2025 19:29:35 +0100 Subject: [PATCH] .. --- .github/workflows/maven.yml | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5cc7465..7555e2e 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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 on: @@ -16,16 +8,12 @@ on: 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: Set up JDK 21 - uses: actions/setup-java@v3 - with: - java-version: '21' - distribution: 'temurin' - cache: maven - - name: Build with Maven - run: mvn -B package --file pom.xml + - uses: actions/checkout@v4 + + - name: Build with Maven + run: mvn -B package --file pom.xml