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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 40
|
timeout-minutes: 40
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4.1.7
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v2.5.0
|
uses: actions/setup-java@v4.2.1
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 17
|
||||||
distribution: liberica
|
distribution: liberica
|
||||||
- name: execute build
|
- name: execute build
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v3.4.2
|
||||||
with:
|
with:
|
||||||
arguments: dokkaHtmlMultiModule
|
arguments: dokkaHtmlMultiModule
|
||||||
- uses: JamesIves/github-pages-deploy-action@4.1.0
|
- uses: JamesIves/github-pages-deploy-action@4.6.1
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
folder: build/dokka/htmlMultiModule
|
folder: build/dokka/htmlMultiModule
|
||||||
|
Loading…
Reference in New Issue
Block a user