Update pages.yml

This commit is contained in:
SPC-code 2024-06-19 18:22:51 +03:00 committed by GitHub
parent 390a896e0a
commit 79f4d0eba5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,24 +2,24 @@ name: Dokka publication
on:
push:
branches: [ master ]
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 40
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2.5.0
- uses: actions/checkout@v4.1.7
- name: Set up JDK 17
uses: actions/setup-java@v4.2.1
with:
java-version: 11
java-version: 17
distribution: liberica
- name: execute build
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3.4.2
with:
arguments: dokkaHtmlMultiModule
- uses: JamesIves/github-pages-deploy-action@4.1.0
- uses: JamesIves/github-pages-deploy-action@4.6.1
with:
branch: gh-pages
folder: build/dokka/htmlMultiModule