File tree Expand file tree Collapse file tree 3 files changed +29
-10
lines changed Expand file tree Collapse file tree 3 files changed +29
-10
lines changed Original file line number Diff line number Diff line change 1
1
name : Generate
2
-
3
2
on :
4
3
workflow_dispatch :
5
4
inputs :
6
5
force :
7
- description : " Force the generation of the SDKs"
6
+ description : Force generation of SDKs
8
7
type : boolean
9
8
default : false
10
9
schedule :
11
10
- cron : 0 0 * * *
12
-
13
11
jobs :
14
12
generate :
15
- uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation .yaml@v14
13
+ uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor .yaml@v15
16
14
with :
17
- speakeasy_version : latest
18
- openapi_doc_location : https://docs.speakeasyapi.dev/openapi.yaml
19
- languages : |-
20
- - csharp
21
- publish_csharp : true
22
15
force : ${{ github.event.inputs.force }}
23
- create_release : true
16
+ mode : pr
17
+ speakeasy_version : latest
24
18
secrets :
25
19
github_access_token : ${{ secrets.GITHUB_TOKEN }}
26
20
nuget_api_key : ${{ secrets.NUGET_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
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ publish :
12
+ uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
13
+ secrets :
14
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
15
+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change
1
+ workflowVersion : 1.0.0
2
+ speakeasyVersion : latest
3
+ sources :
4
+ speakeasy :
5
+ inputs :
6
+ - location : https://docs.speakeasyapi.dev/openapi.yaml
7
+ targets :
8
+ speakeasy-client-sdk-csharp :
9
+ target : csharp
10
+ source : speakeasy
You can’t perform that action at this time.
0 commit comments