-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactorings from the AWT Font PR (#729)
* Refactoring from AWT Font PR Thanks, @rock3r, for refactorings! I extracted them from the AWT font PR (they were reverted in 53f00c7) - 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 53f00c7) - 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.
- Loading branch information
Showing
23 changed files
with
331 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,35 @@ | ||
# Build Skiko documentation | ||
name: Doc | ||
|
||
# Controls when the action will run. | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the master branch | ||
push: | ||
branches: [ master ] | ||
# Temporary, for testing. Remove! | ||
#pull_request: | ||
# branches: [ master ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# See https://github.com/marketplace/actions/deploy-to-github-pages | ||
jobs: | ||
dokka: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v2 | ||
- uses: actions/checkout@v3 | ||
name: 'Check out code' | ||
|
||
- uses: actions/setup-java@v3 | ||
name: 'Set up JDK 11' | ||
with: | ||
distribution: 'adopt' | ||
java-version: '11' | ||
- name: Build docs | ||
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 | ||
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 | ||
FOLDER: ./skiko/build/dokka/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ build | |
local.properties | ||
.DS_Store | ||
dependencies/ | ||
|
||
# Screenshot test actual files | ||
**/src/**/screenshots/*_actual.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.