Skip to content

Commit e4f4124

Browse files
ci: fix workflow to build api docs for android
1 parent 5ef6134 commit e4f4124

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

.github/workflows/kotlin-api-docs.yaml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,28 @@ on: workflow_dispatch
55
permissions: {}
66

77
jobs:
8-
deploy:
8+
build:
99
runs-on: ubuntu-24.04
1010
steps:
1111
- name: "Checkout"
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
with:
1414
persist-credentials: false
1515

1616
- name: "Set up JDK 17"
17-
uses: actions/setup-java@v2
17+
uses: actions/setup-java@v4
1818
with:
1919
distribution: temurin
2020
java-version: 17
2121

22-
- name: "Build JVM API documentation"
23-
run: |
24-
cd ./bdk-jvm/
25-
bash ./scripts/build-linux-x86_64.sh
26-
./gradlew dokkaHtml
27-
28-
- name: "Upload JVM website"
29-
uses: actions/upload-artifact@v4
30-
with:
31-
name: artifact-jvm-api-docs
32-
path: /home/runner/work/bdk-ffi/bdk-ffi/bdk-jvm/lib/build/dokka/html/
33-
3422
- name: "Build Android API documentation"
3523
run: |
3624
cd ./bdk-android/
3725
bash ./scripts/build-linux-x86_64.sh
3826
./gradlew dokkaHtml
3927
4028
- name: "Upload Android website"
41-
uses: actions/upload-artifact@v3
29+
uses: actions/upload-artifact@v4
4230
with:
4331
name: artifact-android-api-docs
4432
path: /home/runner/work/bdk-ffi/bdk-ffi/bdk-android/lib/build/dokka/html/

0 commit comments

Comments
 (0)