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
|
2021-08-05 12:09:12 +03:00
|
|
|
timeout-minutes: 40
|
2021-03-12 16:00:33 +03:00
|
|
|
steps:
|
2022-03-31 23:06:07 +03:00
|
|
|
- uses: actions/checkout@v3.0.0
|
|
|
|
- uses: actions/setup-java@v3.0.0
|
2021-03-12 16:00:33 +03:00
|
|
|
with:
|
2022-03-31 22:23:34 +03:00
|
|
|
java-version: 11
|
|
|
|
distribution: liberica
|
2022-03-31 23:06:07 +03:00
|
|
|
- name: Cache konan
|
|
|
|
uses: actions/cache@v3.0.1
|
|
|
|
with:
|
|
|
|
path: ~/.konan
|
2021-07-16 21:12:14 +03:00
|
|
|
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
|
|
|
|
restore-keys: |
|
|
|
|
${{ runner.os }}-gradle-
|
2022-04-01 10:02:03 +03:00
|
|
|
- uses: gradle/gradle-build-action@v2.1.5
|
|
|
|
with:
|
|
|
|
arguments: dokkaHtmlMultiModule --no-parallel
|
2022-04-12 11:06:18 +03:00
|
|
|
- uses: JamesIves/github-pages-deploy-action@4.3.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
|