File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,19 @@ name: Generate
66 description : Force generation of SDKs
77 type : boolean
88 default : false
9+ set_version :
10+ description : optionally set a specific SDK version
11+ type : string
912 schedule :
1013 - cron : 0 0 * * *
1114jobs :
1215 generate :
1316 uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
1417 with :
1518 force : ${{ github.event.inputs.force }}
16- mode : direct
19+ mode : pr
1720 speakeasy_version : latest
21+ set_version : ${{ github.event.inputs.set_version }}
1822 secrets :
1923 github_access_token : ${{ secrets.GITHUB_TOKEN }}
2024 pypi_token : ${{ secrets.PYPI_TOKEN }}
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 }}
You can’t perform that action at this time.
0 commit comments