Release 2.7.1 (#383) #42
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: Javadocs | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: adopt | |
java-version: 17 | |
- name: Build Javadocs | |
run: | | |
echo "Building javadocs with gradle" | |
./gradlew clean schematicbrushreborn-api:javadoc | |
echo "Moving to javadocs directory:" | |
cd schematicbrushreborn-api/build/docs/javadoc | |
echo "Creating .nojekyll to have Github pages deploy html as is:" | |
touch .nojekyll | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: schematicbrushreborn-api/build/docs/javadoc # The folder the action should deploy. |