[maven-release-plugin] prepare release xml-format-maven-plugin-3.3.0 #8
Workflow file for this run
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: Maven Site Generation and Publication to GitHub Pages | |
on: | |
push: | |
tags: | |
- '**' | |
jobs: | |
build: | |
name: Generate Site | |
if: github.repository_owner == 'acegi' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Set up Java and Maven | |
uses: actions/setup-java@v3 | |
with: | |
distribution: zulu | |
java-version: 21 | |
cache: maven | |
- name: Build with Maven | |
run: ./mvnw -B -V site --no-transfer-progress | |
- name: Publish site to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./target/site |