Skip to content

Release 0.1.3

Release 0.1.3 #5

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