Release 0.1.3 #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |