Skip to content

fix(provider): change painterResource vector loading logic #13

fix(provider): change painterResource vector loading logic

fix(provider): change painterResource vector loading logic #13

Workflow file for this run

name: Generate Dokka
concurrency:
group: "Generate Dokka"
cancel-in-progress: true
on:
push:
branches:
- master
paths-ignore:
- '*.md'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout core-stubs
uses: actions/checkout@master
with:
path: "core-stubs"
- name: Checkout API branch
uses: actions/checkout@master
with:
ref: 'api'
path: 'api'
- name: Setup Android SDK
run: |
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "build-tools;29.0.3"
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: adopt
- name: Reset Dokka
run: |
cd $GITHUB_WORKSPACE/api/
rm -rf *
- name: Generate New Dokka
run: |
cd $GITHUB_WORKSPACE/core-stubs/
chmod +x gradlew
./gradlew --no-build-cache --no-configuration-cache :dokkaHtmlMultiModule
- name: Update Dokka
run: |
cp -r $GITHUB_WORKSPACE/core-stubs/build/dokka/htmlMultiModule/* $GITHUB_WORKSPACE/api/
- name: Push builds
run: |
cd $GITHUB_WORKSPACE/api
touch .nojekyll
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add .
git commit -m "docs(dokka): update API references [flixclusiveorg/core-stubs@${GITHUB_SHA}]" || exit 0
git push