Skip to content

Commit 01545e2

Browse files
authored
Java 25
1 parent 1b7197c commit 01545e2

File tree

1 file changed

+13
-21
lines changed

1 file changed

+13
-21
lines changed

.github/workflows/full-build.yml

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ jobs:
66
build:
77
runs-on: ${{ matrix.os }}
88
strategy:
9-
fail-fast: false
109
matrix:
11-
jre: [21]
12-
os: [ubuntu-latest, windows-latest, macOS-latest]
10+
os: [ubuntu-latest, windows-latest, macos-latest]
11+
java-version: [21]
12+
1313
include:
14-
- jre: 24
15-
os: ubuntu-latest
14+
- os: ubuntu-latest
15+
java-version: 25
1616

1717
steps:
1818
- name: Checkout
@@ -22,25 +22,17 @@ jobs:
2222
with:
2323
java-version: ${{ matrix.jre }}
2424
distribution: 'temurin'
25-
- name: Cache Maven repository
26-
uses: actions/cache@v4
27-
with:
28-
path: ~/.m2/repository
29-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
30-
restore-keys: |
31-
${{ runner.os }}-maven-
32-
enableCrossOsArchive: true
33-
- name: Install
34-
run: mvn install -DskipTests -q -P gradlePlugin
25+
cache: maven
3526
- name: Build
36-
run: mvn package -P gradlePlugin
27+
run: mvn -B package -P gradlePlugin
3728
env:
3829
BUILD_PORT: 0
3930
BUILD_SECURE_PORT: 0
4031
BUILD_LOG_LEVEL: 'ERROR'
41-
- name: Test Result
42-
uses: mikepenz/action-junit-report@v5
43-
if: failure()
32+
- name: Publish Test Results
33+
uses: dorny/test-reporter@v1
34+
if: always()
4435
with:
45-
check_name: JUnit ${{ matrix.kind }} ${{ matrix.jre }} ${{ matrix.os }}
46-
report_paths: '*/target/*/TEST-*.xml'
36+
name: JUnit Results (${{ matrix.os }} - Java ${{ matrix.java-version }})
37+
path: target/surefire-reports/*.xml
38+
reporter: java-junit

0 commit comments

Comments
 (0)