-
-
Notifications
You must be signed in to change notification settings - Fork 200
46 lines (43 loc) · 1.24 KB
/
full-build.yml
File metadata and controls
46 lines (43 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Full Build
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
jre: [21]
os: [ubuntu-latest, windows-latest, macOS-latest]
include:
- jre: 24
os: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.jre }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.jre }}
distribution: 'temurin'
- name: Cache Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
enableCrossOsArchive: true
- name: Install
run: mvn install -DskipTests -q -P gradlePlugin
- name: Build
run: mvn package -P gradlePlugin
env:
BUILD_PORT: 0
BUILD_SECURE_PORT: 0
BUILD_LOG_LEVEL: 'ERROR'
- name: Test Result
uses: mikepenz/action-junit-report@v5
if: failure()
with:
check_name: JUnit ${{ matrix.kind }} ${{ matrix.jre }} ${{ matrix.os }}
report_paths: '*/target/*/TEST-*.xml'