File tree Expand file tree Collapse file tree 3 files changed +54
-30
lines changed Expand file tree Collapse file tree 3 files changed +54
-30
lines changed Original file line number Diff line number Diff line change 1
1
name : Generate
2
2
permissions :
3
- checks : write
4
- contents : write
5
- pull-requests : write
6
- statuses : write
3
+ checks : write
4
+ contents : write
5
+ pull-requests : write
6
+ statuses : write
7
7
" on " :
8
- workflow_dispatch :
9
- inputs :
10
- force :
11
- description : Force generation of SDKs
12
- type : boolean
13
- default : false
14
- push_code_samples_only :
15
- description : Force push only code samples from SDK generation
16
- type : boolean
17
- default : false
18
- set_version :
19
- description : optionally set a specific SDK version
20
- type : string
21
- schedule :
22
- - cron : 0 0 * * *
8
+ workflow_dispatch :
9
+ inputs :
10
+ force :
11
+ description : Force generation of SDKs
12
+ type : boolean
13
+ default : false
14
+ push_code_samples_only :
15
+ description : Force push only code samples from SDK generation
16
+ type : boolean
17
+ default : false
18
+ set_version :
19
+ description : optionally set a specific SDK version
20
+ type : string
21
+ schedule :
22
+ - cron : 0 0 * * *
23
23
jobs :
24
- generate :
25
- uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
26
- with :
27
- force : ${{ github.event.inputs.force }}
28
- mode : pr
29
- push_code_samples_only : ${{ fromJSON(github.event.inputs.push_code_samples_only != '' && github.event.inputs.push_code_samples_only || 'false') }}
30
- set_version : ${{ github.event.inputs.set_version }}
31
- speakeasy_version : latest
32
- secrets :
33
- github_access_token : ${{ secrets.GITHUB_TOKEN }}
34
- speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
24
+ generate :
25
+ uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
26
+ with :
27
+ force : ${{ github.event.inputs.force }}
28
+ mode : pr
29
+ push_code_samples_only : ${{ fromJSON(github.event.inputs.push_code_samples_only != '' && github.event.inputs.push_code_samples_only || 'false') }}
30
+ set_version : ${{ github.event.inputs.set_version }}
31
+ speakeasy_version : latest
32
+ secrets :
33
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
34
+ pypi_token : ${{ secrets.PYPI_TOKEN }}
35
+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change
1
+ name : Publish
2
+ permissions :
3
+ checks : write
4
+ contents : write
5
+ pull-requests : write
6
+ statuses : write
7
+ " on " :
8
+ push :
9
+ branches :
10
+ - main
11
+ paths :
12
+ - RELEASES.md
13
+ - ' */RELEASES.md'
14
+ jobs :
15
+ publish :
16
+ uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
17
+ secrets :
18
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
19
+ pypi_token : ${{ secrets.PYPI_TOKEN }}
20
+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ targets:
10
10
livepeer-ai-python :
11
11
target : python
12
12
source : livepeer_ai-OAS
13
+ publish :
14
+ pypi :
15
+ token : $pypi_token
13
16
codeSamples :
14
17
output : codeSamples.yaml
15
18
registry :
You can’t perform that action at this time.
0 commit comments