-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3b7d6a
commit 8387216
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | ||
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: /Users/runner/work/bdk-ffi/bdk-ffi/bdk-android/lib/build/dokka/html/ | ||
|