-
Notifications
You must be signed in to change notification settings - Fork 3
47 lines (40 loc) · 1.08 KB
/
capture-sdk.build.docs.yml
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
42
43
44
45
46
47
name: Builds docs for Capture SDK
on:
workflow_dispatch:
tags-ignore:
- '**'
pull_request:
types: [opened, edited, reopened, synchronize]
paths:
- 'CaptureSDK/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !contains(github.ref, 'refs/tags/')}}
jobs:
documentation:
runs-on: macos-latest
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: '15.3'
- name: Checkout
uses: actions/checkout@v4
- name: setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.0'
bundler-cache: true
- name: Build GiniCaptureSDK documentation
uses: maierj/[email protected]
with:
lane: 'build_docs'
options: >
{
"project_folder": "CaptureSDK",
"package_folder": "GiniCaptureSDK"
}
- name: archive documentation
uses: actions/upload-artifact@v4
with:
name: GiniCaptureSDKDocumentation
path: CaptureSDK/GiniCaptureSDK/Documentation/Api