Bump EnricoMi/publish-unit-test-result-action from 2.17.0 to 2.18.0 #1295
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: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
checkstyle: | |
runs-on: ubuntu-latest | |
name: Checkstyle | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Build with Maven | |
run: ./mvnw --batch-mode install -DskipTests -Pcheckstyle,findbugs | |
build: | |
needs: checkstyle | |
runs-on: ubuntu-latest | |
name: Build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Build with Maven | |
run: ./mvnw --batch-mode verify | |
- name: Upload Test Results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Test Results | |
path: '**/*-reports/TEST-*.xml' | |
event_file: | |
name: Upload event file | |
runs-on: ubuntu-latest | |
steps: | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Event File | |
path: ${{ github.event_path }} |