Skip to content

Merge pull request #128 from rhusar/bump-ee11-finals #19

Merge pull request #128 from rhusar/bump-ee11-finals

Merge pull request #128 from rhusar/bump-ee11-finals #19

Workflow file for this run

name: Maven
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
merge_group:
types:
- checks_requested
permissions:
contents: read
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
# Keep this list as: all supported LTS JDKs, the latest GA JDK, and optionally the latest EA JDK (if available).
# Reference: https://adoptium.net/support/
java:
- 17
- 21
- 25
- 26
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: maven
- name: Build and Test with Maven
run: ./mvnw --batch-mode --no-transfer-progress verify
- name: Upload Test Reports
uses: actions/upload-artifact@v7
if: failure()
with:
name: ${{ matrix.os }}-${{ matrix.java }}-test-reports
path: |
**/surefire-reports/*
**/failsafe-reports/*