kmath/.github/workflows/pages.yml

28 lines
717 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
steps:
2021-07-16 21:12:14 +03:00
- uses: actions/checkout@v2
- uses: DeLaGuardo/setup-graalvm@4.0
with:
2021-07-16 21:12:14 +03:00
graalvm: 21.1.0
java: java11
arch: amd64
- uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
- run: ./gradlew dokkaHtmlMultiModule --no-daemon --no-parallel --stacktrace
- 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