-
Notifications
You must be signed in to change notification settings - Fork 10
59 lines (57 loc) · 1.54 KB
/
update_sdk_version.yaml
File metadata and controls
59 lines (57 loc) · 1.54 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
name: Release and Update SDK Version
on:
workflow_dispatch:
inputs:
version:
description: 'The new version to release, ex: 0.12.0'
required: true
type: string
emergency:
type: boolean
description: Ignore main branch requirement (SOC2 compliance)
required: true
workflow_call:
inputs:
version:
description: 'The new version to release, ex: 0.12.0'
required: true
type: string
emergency:
type: boolean
description: Ignore main branch requirement (SOC2 compliance)'
required: true
secrets:
OPEN_CAPTURE_SDK_PRS_APP_ID:
required: true
OPEN_CAPTURE_SDK_PRS_PRIVATE_KEY:
required: true
jobs:
gh-release:
permissions:
contents: write
uses: ./.github/workflows/release_gh.yaml
with:
version: ${{ inputs.version }}
secrets: inherit
public-release:
permissions:
id-token: write # required to use OIDC authentication
contents: read
uses: ./.github/workflows/release_public.yaml
with:
version: ${{ inputs.version }}
emergency: ${{ inputs.emergency }}
secrets: inherit
needs: gh-release
capture-ios-release:
uses: ./.github/workflows/release_capture_ios.yaml
with:
version: ${{ inputs.version }}
needs: public-release
secrets: inherit
capture-react-release:
uses: ./.github/workflows/release_capture_react.yaml
with:
version: ${{ inputs.version }}
needs: public-release
secrets: inherit