Update pages.yml
This commit is contained in:
parent
390a896e0a
commit
79f4d0eba5
14
.github/workflows/pages.yml
vendored
14
.github/workflows/pages.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user