mirror of
https://github.com/bitsycore/skiko.git
synced 2026-10-05 14:37:26 +00:00
* Refactoring from AWT Font PR Thanks, @rock3r, for refactorings! I extracted them from the AWT font PR (they were reverted in https://github.com/JetBrains/skiko/pull/639/commits/53f00c7d6be5ac0834ba4b4c3b9b4e3ea5cb0f10) - fix formatting - fix comments - split CI steps I am not sure about mikepenz/action-junit-report. Let's remove it for now (otherwise it should be investigated from functionality and security perspective) * Refactoring from AWT Font PR Thanks, @rock3r, for refactorings! I extracted them from the AWT font PR (they were reverted in https://github.com/JetBrains/skiko/pull/639/commits/53f00c7d6be5ac0834ba4b4c3b9b4e3ea5cb0f10) - fix formatting - fix comments - split CI steps I am not sure about mikepenz/action-junit-report. Let's remove it for now (otherwise it should be investigated from functionality and security perspective) Also, removed implementation("pl.pragmatists:JUnitParams:1.1.1"), as it isn't used.
36 lines
908 B
YAML
36 lines
908 B
YAML
# Build Skiko documentation
|
|
name: Doc
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
# Temporary, for testing. Remove!
|
|
#pull_request:
|
|
# branches: [ master ]
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
dokka:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
name: 'Check out code'
|
|
|
|
- uses: actions/setup-java@v3
|
|
name: 'Set up JDK 11'
|
|
with:
|
|
distribution: 'adopt'
|
|
java-version: '11'
|
|
cache: 'gradle'
|
|
|
|
- name: 'Build Dokka documentation'
|
|
run: bash -c 'JAVA_OPTS="-Xmx4g" ./gradlew --no-daemon -Pskiko.native.enabled=true -Pskiko.wasm.enabled=true -Pskiko.android.enabled=true :skiko:dokkaHtml'
|
|
|
|
- name: 'Publish documentation'
|
|
uses: JamesIves/github-pages-deploy-action@releases/v3
|
|
with:
|
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
|
BRANCH: gh-pages
|
|
FOLDER: ./skiko/build/dokka/html
|