Bump org.apache.maven.plugins:maven-install-plugin from 3.1.3 to 3.1.4 #266
Workflow file for this run
This file contains hidden or 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: Java CI with Maven | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- "ubuntu-latest" | |
- "windows-latest" | |
- "macos-latest" | |
# Keep this list as: all supported LTS JDKs, the latest GA JDK, and optionally the latest EA JDK (if available). | |
# https://www.oracle.com/java/technologies/java-se-support-roadmap.html | |
java: [ 11, 17, 21, 23 ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: temurin | |
cache: maven | |
- name: Build with Maven | |
timeout-minutes: 10 | |
id: test_runner | |
run: mvn --batch-mode --no-transfer-progress package -Dgroups=functional | |
- name: Generate test reports | |
# Only generate reports if tests failed. | |
if: failure() | |
run: mvn --batch-mode --no-transfer-progress surefire-report:report-only | |
- name: Generate and upload test reports | |
# Only upload reports if tests failed. | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Test reports | |
# Once SUREFIRE-2219 is finished we can upload only the html report. | |
path: | | |
tmp/html/ | |
tmp/test-results/xml/ |