File tree Expand file tree Collapse file tree 1 file changed +23
-18
lines changed Expand file tree Collapse file tree 1 file changed +23
-18
lines changed Original file line number Diff line number Diff line change 1
1
name : Generate
2
2
" on " :
3
- workflow_dispatch :
4
- inputs :
5
- force :
6
- description : Force generation of SDKs
7
- type : boolean
8
- default : false
9
- schedule :
10
- - cron : 0 0 * * *
3
+ workflow_dispatch :
4
+ inputs :
5
+ force :
6
+ description : Force generation of SDKs
7
+ type : boolean
8
+ default : false
9
+ push_code_samples_only :
10
+ description : Force push only code samples from SDK generation
11
+ type : boolean
12
+ default : false
13
+ schedule :
14
+ - cron : 0 0 * * *
11
15
jobs :
12
- generate :
13
- uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
14
- with :
15
- force : ${{ github.event.inputs.force }}
16
- mode : pr
17
- speakeasy_version : latest
18
- secrets :
19
- github_access_token : ${{ secrets.GITHUB_TOKEN }}
20
- nuget_api_key : ${{ secrets.NUGET_API_KEY }}
21
- speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
16
+ generate :
17
+ uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
18
+ with :
19
+ force : ${{ github.event.inputs.force }}
20
+ mode : pr
21
+ push_code_samples_only : ${{ fromJSON(github.event.inputs.push_code_samples_only) }}
22
+ speakeasy_version : latest
23
+ secrets :
24
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
25
+ nuget_api_key : ${{ secrets.NUGET_API_KEY }}
26
+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
You can’t perform that action at this time.
0 commit comments