doc: modified README.md (#23) #43
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 | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: GitHub Action for GraalVM | |
uses: graalvm/setup-graalvm@v1 | |
with: | |
java-version: 21 | |
distribution: 'graalvm' | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Compile | |
run: mvn compile | |
- name: Javadoc | |
run: mvn javadoc:javadoc | |
- name: Publish Documentation on GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./target/site/apidocs | |