-
-
Notifications
You must be signed in to change notification settings - Fork 196
38 lines (35 loc) · 987 Bytes
/
full-build.yml
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
name: Full Build
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
jre: [17]
os: [ubuntu-latest, windows-latest, macOS-latest]
include:
- jre: 21
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'
cache: maven
- name: Install
run: mvn clean install -DskipTests -q -P gradlePlugin
- name: Build
run: mvn clean package -P gradlePlugin
env:
BUILD_PORT: 0
BUILD_SECURE_PORT: 0
- name: Test Result
uses: mikepenz/action-junit-report@v3
if: failure()
with:
check_name: JUnit ${{ matrix.kind }} ${{ matrix.jre }} ${{ matrix.os }}
report_paths: '*/target/*/TEST-*.xml'