Skip to content

chore(deps): update actions/setup-java action to v4.6.0 (#356) #251

chore(deps): update actions/setup-java action to v4.6.0 (#356)

chore(deps): update actions/setup-java action to v4.6.0 (#356) #251

Workflow file for this run

name: Publish mvn site to gh-pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout sources 🔰
uses: actions/checkout@v4
- name: Set up Java 17 ⏬
uses: actions/setup-java@v4.6.0
with:
distribution: temurin
java-version: 17
java-package: jdk
architecture: x64
- name: Handle caching of maven repository 💾
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build maven site 🏗️
run: mvn -B -P reporting surefire-report:report site
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.7.2
with:
branch: gh-pages
folder: target/site