dataforge-core/.github/workflows/pages.yml

32 lines
812 B
YAML
Raw Normal View History

2021-04-05 22:01:09 +03:00
name: Dokka publication
on:
2023-07-09 21:38:33 +03:00
workflow_dispatch:
release:
types: [ created ]
2021-04-05 22:01:09 +03:00
jobs:
build:
2023-07-09 21:38:33 +03:00
runs-on: ubuntu-latest
2021-08-06 12:29:48 +03:00
timeout-minutes: 40
2021-04-05 22:01:09 +03:00
steps:
2023-07-09 21:38:33 +03:00
- uses: actions/checkout@v3.0.0
- uses: actions/setup-java@v3.0.0
2021-04-05 22:01:09 +03:00
with:
2023-07-09 21:38:33 +03:00
java-version: 11
distribution: liberica
- name: Cache konan
uses: actions/cache@v3.0.1
2021-04-05 22:01:09 +03:00
with:
2023-07-09 21:38:33 +03:00
path: ~/.konan
2021-05-09 12:07:24 +03:00
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
2023-07-09 21:38:33 +03:00
- uses: gradle/gradle-build-action@v2.1.5
with:
arguments: dokkaHtmlMultiModule --no-parallel
- uses: JamesIves/github-pages-deploy-action@v4.3.0
2021-04-05 22:01:09 +03:00
with:
branch: gh-pages
folder: build/dokka/htmlMultiModule