chore(deps): update actions/checkout action to v6 (#439) #395
This file contains hidden or 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 ] | |
| jobs: | |
| gradle-dokka: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 21 | |
| distribution: 'adopt' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| with: | |
| cache-read-only: ${{ github.ref != 'refs/heads/develop' }} | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Generate docs with dokka | |
| run: ./gradlew dokkaHtmlMultiModule | |
| - name: Deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@v4.7.4 | |
| with: | |
| branch: docs # The branch the action should deploy to. | |
| folder: dokka-docs # The folder the action should deploy. |