Skip to content

Switch to maven central (#51) #8

Switch to maven central (#51)

Switch to maven central (#51) #8

Workflow file for this run

name: Javadocs
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 18
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 18
- name: Build Javadocs
run: |
echo "Building javadocs with gradle"
./gradlew clean allJavadocs
echo "Moving to javadocs directory:"
cd build/docs/javadoc
echo "Creating .nojekyll to have Github pages deploy html as is:"
touch .nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: build/docs/javadoc # The folder the action should deploy.