2021-03-12 16:00:33 +03:00
|
|
|
name: Dokka publication
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-07-16 21:12:14 +03:00
|
|
|
branches: [ master ]
|
2021-03-12 16:00:33 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
2021-07-16 21:12:14 +03:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: DeLaGuardo/setup-graalvm@4.0
|
2021-03-12 16:00:33 +03:00
|
|
|
with:
|
2021-07-16 21:12:14 +03:00
|
|
|
graalvm: 21.1.0
|
|
|
|
java: java11
|
|
|
|
arch: amd64
|
|
|
|
- uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
path: ~/.gradle/caches
|
|
|
|
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
|
|
|
|
restore-keys: |
|
|
|
|
${{ runner.os }}-gradle-
|
2021-07-29 19:55:27 +03:00
|
|
|
- run: ./gradlew dokkaHtmlMultiModule --build-cache --no-daemon --no-parallel --stacktrace
|
2021-07-16 21:12:14 +03:00
|
|
|
- uses: JamesIves/github-pages-deploy-action@4.1.0
|
2021-03-12 16:00:33 +03:00
|
|
|
with:
|
2021-03-12 20:30:14 +03:00
|
|
|
branch: gh-pages
|
|
|
|
folder: build/dokka/htmlMultiModule
|