Skip to content

Deploy Javadoc

Deploy Javadoc #89

Workflow file for this run

name: Deploy Javadoc
on:
workflow_dispatch:
release:
types: [ published ]
jobs:
publish:
if: ${{ !contains(github.event.release.name, 'SNAPSHOT') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Prepare java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Generate Javadoc
run: ./gradlew generateJavadoc
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build/docs/javadoc
target-folder: javadoc