Skip to content

Test JDK 21 instead of 20 #1649

Test JDK 21 instead of 20

Test JDK 21 instead of 20 #1649

Workflow file for this run

name: Quick Build
on: [pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java_version: [17]
os: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java_version }}
distribution: 'temurin'
cache: maven
- name: Install
run: mvn clean install -DskipTests -q -B
env:
BUILD_PORT: 0
BUILD_SECURE_PORT: 0
- name: Build
run: mvn clean package
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.java_version }} ${{ matrix.os }}
report_paths: '*/target/*/TEST-*.xml'