kmath/.github/workflows/pages.yml

37 lines
1004 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-04-27 19:21:04 +03:00
java: java16
2021-07-16 21:12:14 +03:00
arch: amd64
- uses: actions/cache@v2
with:
2021-04-27 19:21:04 +03:00
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/cache@v2
with:
path: ~/.konan
2021-07-16 21:12:14 +03:00
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