Skip to content

[maven-release-plugin] prepare release 0.1.0-Alpha #7

[maven-release-plugin] prepare release 0.1.0-Alpha

[maven-release-plugin] prepare release 0.1.0-Alpha #7

Workflow file for this run

name: Generate and publish API JavaDocs
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
- name: Generate docs
run: mvn javadoc:javadoc
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/site/apidocs