-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 1.12 KB
/
dokka.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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@v3
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