fix(capture-sdk): Replace usage of Java 8 stream mapping with Kotlin collections' map()
function
#995
Workflow file for this run
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/**' | |
tags-ignore: | |
- '**' | |
pull_request: | |
paths: | |
- 'capture-sdk/**' | |
jobs: | |
build-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: setup java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
cache: 'gradle' | |
- name: setup python | |
uses: actions/setup-python@v4 | |
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@v3 | |
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@v3 | |
with: | |
name: capture-sdk-default-network-documentation | |
path: capture-sdk/default-network/build/docs |