Skip to content

Release 3.2.0

Release 3.2.0 #14

name: Javadoc Builder
on:
release:
types: [published]
permissions:
pages: write
id-token: write
jobs:
build:
name: Javadoc Builder
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'corretto'
cache: 'gradle'
- name: Print JDK Version
run: java -version
- name: Make gradlew Executable
run: chmod +x gradlew
- name: Build javadocs
run: ./gradlew --no-daemon --parallel javadoc
- name: Upload javadocs
uses: actions/upload-pages-artifact@v2
with:
path: build/docs/javadoc
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy Javadoc
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v2