-
-
Notifications
You must be signed in to change notification settings - Fork 200
41 lines (39 loc) · 1.11 KB
/
full-build.yml
File metadata and controls
41 lines (39 loc) · 1.11 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
name: Full Build
on:
push:
branches:
- main # Only run push on main (merges/direct pushes)
tags:
- 'v*' # Triggers on any tag starting with 'v' (e.g., v1.0, v2.1.3)
pull_request:
branches:
- main # Run on any PR targeting main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java-version: [21]
include:
- os: ubuntu-latest
java-version: 25
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Build
run: mvn -B install -P gradlePlugin --no-transfer-progress
env:
BUILD_LOG_LEVEL: 'ERROR'
- name: Tests
uses: mikepenz/action-junit-report@v5
if: always()
with:
check_name: Test ${{ matrix.os }} ${{ matrix.java-version }}
report_paths: '*/target/*/TEST-*.xml'