Skip to content

#12 - add a flatten pom step to fix published pom.xml #69

#12 - add a flatten pom step to fix published pom.xml

#12 - add a flatten pom step to fix published pom.xml #69

Workflow file for this run

name: Pull Request
on:
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build and Test (Java ${{ matrix.java }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ '17', '21' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: maven
- name: Build and test
run: |
mvn -B -e --fail-at-end clean verify
- name: Upload test reports
if: always()
uses: actions/upload-artifact@v4
with:
name: test-reports-java-${{ matrix.java }}
path: |
./**/target/surefire-reports/**
./**/target/failsafe-reports/**