Skip to content

Bump peaceiris/actions-gh-pages from 3 to 4 (#81) #43

Bump peaceiris/actions-gh-pages from 3 to 4 (#81)

Bump peaceiris/actions-gh-pages from 3 to 4 (#81) #43

Workflow file for this run

name: 'Dokka'
on:
push:
branches:
- 'master'
env:
GRADLE_OPTS: -Dorg.gradle.daemon=true -Dorg.gradle.parallel=true -Dorg.gradle.welcome=never
jobs:
dokka:
name: 'Dokka'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Fetch Git tags, so that semantic version can be calculated.
# Alternatively, run `git fetch --prune --unshallow --tags` as the
# next step, see
# https://github.com/actions/checkout/issues/206#issuecomment-607496604.
fetch-depth: 0
- name: 'Set up Java 17'
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
java-package: jdk+fx
- name: 'Execute Gradle build'
uses: gradle/gradle-build-action@v3
with:
gradle-version: wrapper
arguments: |
:kompiledb-core:dokkaHtml
- name: 'Publish to GitHub Pages'
id: publish
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: kompiledb-core/build/dokka/html