automation: update version.properties #268
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: gradle-dokka | |
on: | |
push: | |
branches: [ develop ] | |
env: | |
CI: true | |
jobs: | |
gradle-dokka: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'adopt' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Generate docs with dokka | |
run: ./gradlew dokkaHtmlMultiModule | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: docs # The branch the action should deploy to. | |
folder: dokka-docs # The folder the action should deploy. |