File tree Expand file tree Collapse file tree 3 files changed +21
-5
lines changed
Expand file tree Collapse file tree 3 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 11name : Generate
2-
32permissions :
43 checks : write
54 contents : write
65 pull-requests : write
76 statuses : write
8-
9- on :
7+ " on " :
108 workflow_dispatch :
119 inputs :
1210 force :
1513 default : false
1614 schedule :
1715 - cron : 0 0 * * *
18-
1916jobs :
2017 generate :
2118 uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
2522 speakeasy_version : latest
2623 secrets :
2724 github_access_token : ${{ secrets.GITHUB_TOKEN }}
25+ npm_token : ${{ secrets.NPM_TOKEN }}
2826 speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change 1+ name : Publish
2+ " on " :
3+ push :
4+ branches :
5+ - main
6+ paths :
7+ - RELEASES.md
8+ - ' */RELEASES.md'
9+ jobs :
10+ publish :
11+ uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
12+ secrets :
13+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
14+ npm_token : ${{ secrets.NPM_TOKEN }}
15+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change @@ -2,8 +2,11 @@ workflowVersion: 1.0.0
22sources :
33 my-first-source :
44 inputs :
5- - location : https://api.dub.sh
5+ - location : https://api.dub.co
66targets :
77 my-first-target :
88 target : typescript
99 source : my-first-source
10+ publish :
11+ npm :
12+ token : $npm_token
You can’t perform that action at this time.
0 commit comments