Fix Dokka build

This commit is contained in:
Iaroslav Postovalov 2021-03-13 00:30:14 +07:00
parent de89ef437c
commit 756626c9bc
No known key found for this signature in database
GPG Key ID: 46E15E4A31B3BCD7

View File

@ -22,10 +22,17 @@ jobs:
key: ubuntu-20.04-gradle-${{ hashFiles('*.gradle.kts') }} key: ubuntu-20.04-gradle-${{ hashFiles('*.gradle.kts') }}
restore-keys: | restore-keys: |
ubuntu-20.04-gradle- ubuntu-20.04-gradle-
- name: Cache konan
uses: actions/cache@v2
with:
path: ~/.konan
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build - name: Build
run: ./gradlew dokkaHtmlMultiModule --no-daemon --stacktrace run: ./gradlew dokkaHtmlMultiModule --no-daemon --no-parallel --stacktrace
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.0 uses: JamesIves/github-pages-deploy-action@4.1.0
with: with:
branch: gh-pages branch: gh-pages
folder: build/dokka/htmlMultiModule folder: build/dokka/htmlMultiModule