From 4de03a3252e2194855c4f556bc6a5cc0a67222a7 Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Wed, 27 Nov 2024 10:06:58 -0500 Subject: [PATCH] ci: build kotlin api docs in ci --- .github/workflows/kotlin-api-docs.yaml | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/kotlin-api-docs.yaml diff --git a/.github/workflows/kotlin-api-docs.yaml b/.github/workflows/kotlin-api-docs.yaml new file mode 100644 index 00000000..12d6a2d3 --- /dev/null +++ b/.github/workflows/kotlin-api-docs.yaml @@ -0,0 +1,28 @@ +name: Build JVM and Android API Docs Websites + +on: workflow_dispatch + +jobs: + deploy: + runs-on: ubuntu-22.04 + steps: + - name: "Checkout" + uses: actions/checkout@v3 + + - name: "Set up JDK 17" + uses: actions/setup-java@v2 + with: + distribution: temurin + java-version: 17 + + - name: "Build JVM API documentation" + run: | + cd ./bdk-jvm/ + bash ./scripts/build-linux-x86_64.sh + ./gradlew dokkaHtml + + - name: "Upload JVM website" + uses: actions/upload-artifact@v3 + with: + name: artifact-jvm-api-docs + path: /Users/runner/work/bdk-ffi/bdk-ffi/bdk-jvm/lib/build/dokka/html/