Merge pull request #3157 from jooby-project/dependabot/maven/metrics.… #3082
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 20 | |
os: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK ${{ matrix.jre }} | |
uses: actions/setup-java@v3 | |
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' |