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
6
6
description : Force generation of SDKs
7
7
type : boolean
8
8
default : false
9
+ set_version :
10
+ description : optionally set a specific SDK version
11
+ type : string
9
12
schedule :
10
13
- cron : 0 0 * * *
11
14
jobs :
12
15
generate :
13
16
uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
14
17
with :
15
18
force : ${{ github.event.inputs.force }}
16
- mode : direct
19
+ mode : pr
17
20
speakeasy_version : latest
21
+ set_version : ${{ github.event.inputs.set_version }}
18
22
secrets :
19
23
github_access_token : ${{ secrets.GITHUB_TOKEN }}
20
24
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