feature(bank-sdk): Crash fix #1663
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
name: Build docs for Capture SDK | |
on: | |
push: | |
paths: | |
- 'capture-sdk/**' | |
branches: | |
- '**' | |
tags-ignore: | |
- '**' | |
pull_request: | |
types: [opened, edited, reopened] | |
paths: | |
- 'capture-sdk/**' | |
jobs: | |
build-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'gradle' | |
- name: setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 'pypy2.7' | |
- name: setup ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2.0' | |
bundler-cache: true | |
- name: build sdk documentation | |
uses: maierj/[email protected] | |
with: | |
lane: 'build_documentation' | |
options: > | |
{ | |
"project_id": "capture-sdk", | |
"module_id": "sdk" | |
} | |
- name: archive sdk documentation | |
uses: actions/upload-artifact@v4 | |
with: | |
name: capture-sdk-documentation | |
path: capture-sdk/sdk/build/docs | |
- name: build default network library documentation | |
uses: maierj/[email protected] | |
with: | |
lane: 'build_documentation' | |
options: > | |
{ | |
"project_id": "capture-sdk", | |
"module_id": "default-network" | |
} | |
- name: archive default network library documentation | |
uses: actions/upload-artifact@v4 | |
with: | |
name: capture-sdk-default-network-documentation | |
path: capture-sdk/default-network/build/docs |