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

29 lines
755 B
YAML
Raw Normal View History

2021-04-05 22:01:09 +03:00
name: Dokka publication
on:
push:
2021-08-06 12:29:48 +03:00
branches: [ master ]
2021-04-05 22:01:09 +03:00
jobs:
build:
runs-on: ubuntu-20.04
2021-08-06 12:29:48 +03:00
timeout-minutes: 40
2021-04-05 22:01:09 +03:00
steps:
2021-08-06 12:29:48 +03:00
- uses: actions/checkout@v2
- uses: DeLaGuardo/setup-graalvm@4.0
2021-04-05 22:01:09 +03:00
with:
2021-08-06 12:29:48 +03:00
graalvm: 21.2.0
2021-05-09 12:07:24 +03:00
java: java11
arch: amd64
2021-08-06 12:29:48 +03:00
- uses: actions/cache@v2
2021-04-05 22:01:09 +03:00
with:
path: ~/.gradle/caches
2021-05-09 12:07:24 +03:00
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
2021-08-06 12:29:48 +03:00
- run: ./gradlew dokkaHtmlMultiModule --build-cache --no-daemon --no-parallel --stacktrace
- uses: JamesIves/github-pages-deploy-action@4.1.0
2021-04-05 22:01:09 +03:00
with:
branch: gh-pages
folder: build/dokka/htmlMultiModule