File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Generate
2
+
3
+ on :
4
+ workflow_dispatch : # Allows manual triggering of the workflow to generate SDK
5
+ inputs :
6
+ force :
7
+ description : " Force generation of SDKs"
8
+ type : boolean
9
+ default : false
10
+ schedule :
11
+ - cron : 0 0 * * * # Runs every day at midnight
12
+
13
+ jobs :
14
+ generate :
15
+ uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
16
+ with :
17
+ speakeasy_version : latest
18
+ openapi_doc_location : https://docs.speakeasyapi.dev/openapi.yaml
19
+ languages : |-
20
+ - go
21
+ create_release : true
22
+ force : ${{ github.event.inputs.force }}
23
+ secrets :
24
+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
25
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
26
+ slack_webhook_url : ${{ secrets.SLACK_WEBHOOK_URL }}
27
+ rubygems_auth_token : ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
You can’t perform that action at this time.
0 commit comments