kmath/.github/workflows/pages.yml

29 lines
755 B
YAML
Raw Normal View History

name: Dokka publication
on:
push:
2021-07-16 21:12:14 +03:00
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
2021-08-05 12:09:12 +03:00
timeout-minutes: 40
steps:
2021-07-16 21:12:14 +03:00
- uses: actions/checkout@v2
- uses: DeLaGuardo/setup-graalvm@4.0
with:
2021-08-05 12:09:12 +03:00
graalvm: 21.2.0
2021-07-16 21:12:14 +03:00
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
with:
2021-03-12 20:30:14 +03:00
branch: gh-pages
folder: build/dokka/htmlMultiModule