Skip to content

Create Surefire Report #407

Create Surefire Report

Create Surefire Report #407

name: Create Surefire Report
on:
schedule:
- cron: '0 0 * * *'
jobs:
report:
runs-on: ubuntu-latest
env:
MVN: ./mvnw --show-version --batch-mode
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v3
- name: Set up JDK
id: setup-jdk
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Run Tests
id: run-tests
run: $MVN --fail-never -P all-tests test
- name: Site
id: site
run: $MVN -P all-tests site:site -DskipTests -Daggregate=true
- name: Publish
id: publish
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./target/site
clean: true