To v1.10.0 #31
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: Publish javadocs | |
on: | |
push: | |
branches: [ development ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
java-package: jdk | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install GH import | |
run: | | |
python -m pip install --upgrade pip | |
pip install ghp-import | |
- name: Generate javadocs | |
run: | | |
mvn javadoc:javadoc | |
- name: Publish documentation on GH pages | |
run: | | |
ghp-import -f -m "Regenerate documentation" -b gh-pages -n -p target/site/apidocs | |