2024-06-19 18:14:59 +03:00
|
|
|
name: Dokka publication
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-06-19 18:22:51 +03:00
|
|
|
branches: [ main ]
|
2024-06-19 18:14:59 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 40
|
|
|
|
steps:
|
2024-06-19 18:22:51 +03:00
|
|
|
- uses: actions/checkout@v4.1.7
|
|
|
|
- name: Set up JDK 17
|
|
|
|
uses: actions/setup-java@v4.2.1
|
2024-06-19 18:14:59 +03:00
|
|
|
with:
|
2024-06-19 18:22:51 +03:00
|
|
|
java-version: 17
|
2024-06-19 18:14:59 +03:00
|
|
|
distribution: liberica
|
|
|
|
- name: execute build
|
2024-06-19 18:22:51 +03:00
|
|
|
uses: gradle/gradle-build-action@v3.4.2
|
2024-06-19 18:14:59 +03:00
|
|
|
with:
|
|
|
|
arguments: dokkaHtmlMultiModule
|
2024-06-19 18:22:51 +03:00
|
|
|
- uses: JamesIves/github-pages-deploy-action@4.6.1
|
2024-06-19 18:14:59 +03:00
|
|
|
with:
|
|
|
|
branch: gh-pages
|
|
|
|
folder: build/dokka/htmlMultiModule
|