-
Notifications
You must be signed in to change notification settings - Fork 45
41 lines (33 loc) · 1.06 KB
/
kotlin-api-docs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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/