Skip to content

Commit

Permalink
ci: build kotlin api docs in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Nov 27, 2024
1 parent c3b7d6a commit a6a197f
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/kotlin-api-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
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@v4
with:
name: artifact-jvm-api-docs
path: /home/runner/work/bdk-ffi/bdk-ffi/bdk-jvm/lib/build/dokka/html/

- name: "Build Android API documentation"
run: |
cd ./bdk-android/
bash ./scripts/build-linux-x86_64.sh
./gradlew dokkaHtml
- name: "Upload Android website"
uses: actions/upload-artifact@v3
with:
name: artifact-android-api-docs
path: /home/runner/work/bdk-ffi/bdk-ffi/bdk-android/lib/build/dokka/html/

0 comments on commit a6a197f

Please sign in to comment.