Update the library and its dependencies. #60
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
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 12 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 12 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Generate API documentation | |
run: ./gradlew dokkaHtml | |
- name: Deploy API documentation to Github Pages | |
uses: JamesIves/github-pages-deploy-action@3.7.1 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: ./form-builder/build/dokka/html |