kmath/.github/workflows/pages.yml

32 lines
811 B
YAML
Raw Permalink Normal View History

name: Dokka publication
on:
2022-04-12 12:02:11 +03:00
workflow_dispatch:
release:
types: [ created ]
jobs:
build:
runs-on: ubuntu-20.04
2021-08-05 12:09:12 +03:00
timeout-minutes: 40
steps:
2022-03-31 23:06:07 +03:00
- uses: actions/checkout@v3.0.0
- uses: actions/setup-java@v3.0.0
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-
- uses: gradle/gradle-build-action@v2.4.2
2022-04-01 10:02:03 +03:00
with:
arguments: dokkaHtmlMultiModule --no-parallel
2022-04-12 11:10:14 +03:00
- uses: JamesIves/github-pages-deploy-action@v4.3.0
with:
2021-03-12 20:30:14 +03:00
branch: gh-pages
folder: build/dokka/htmlMultiModule