Skip to content

Bump actions/checkout from 3 to 4 (#58) #18

Bump actions/checkout from 3 to 4 (#58)

Bump actions/checkout from 3 to 4 (#58) #18

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@v3
with:
distribution: zulu
java-version: 17
java-package: jdk+fx
- name: 'Execute Gradle build'
uses: gradle/gradle-build-action@v2
with:
gradle-version: wrapper
arguments: |
:kompiledb-core:dokkaHtml
- name: 'Publish to GitHub Pages'
id: publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: kompiledb-core/build/dokka/html