File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed
Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -4,34 +4,34 @@ permissions:
44 contents : write
55 pull-requests : write
66 statuses : write
7+ id-token : write
78" on " :
89 workflow_dispatch :
910 inputs :
1011 force :
1112 description : Force generation of SDKs
1213 type : boolean
1314 default : false
14- push_code_samples_only :
15- description : Force push only code samples from SDK generation
16- type : boolean
17- default : false
1815 set_version :
1916 description : optionally set a specific SDK version
2017 type : string
2118 schedule :
2219 - cron : 0 0 * * *
20+ pull_request :
21+ types :
22+ - labeled
23+ - unlabeled
2324jobs :
2425 generate :
2526 uses : speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
2627 with :
2728 force : ${{ github.event.inputs.force }}
28- push_code_samples_only : ${{ fromJSON(github.event.inputs.push_code_samples_only != '' && github.event.inputs.push_code_samples_only || 'false') }}
29+ mode : pr
2930 set_version : ${{ github.event.inputs.set_version }}
30- speakeasy_version : latest
3131 secrets :
3232 github_access_token : ${{ secrets.GITHUB_TOKEN }}
33+ heuk3iag : ${{ secrets.HEUK3IAG }}
3334 java_gpg_passphrase : ${{ secrets.JAVA_GPG_PASSPHRASE }}
3435 java_gpg_secret_key : ${{ secrets.JAVA_GPG_SECRET_KEY }}
3536 ossrh_password : ${{ secrets.OSSRH_PASSWORD }}
36- ossrh_username : ${{ secrets.OSSRH_USERNAME }}
3737 speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change @@ -4,18 +4,22 @@ permissions:
44 contents : write
55 pull-requests : write
66 statuses : write
7+ id-token : write
78" on " :
89 push :
910 branches :
1011 - main
1112 paths :
12- - RELEASES.md
13- - " */RELEASES.md "
13+ - .speakeasy/gen.lock
14+ workflow_dispatch : {}
1415jobs :
1516 publish :
1617 uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
18+ with :
19+ target : hathora-java
1720 secrets :
1821 github_access_token : ${{ secrets.GITHUB_TOKEN }}
22+ heuk3iag : ${{ secrets.OSSRH_USERNAME }}
1923 java_gpg_passphrase : ${{ secrets.JAVA_GPG_PASSPHRASE }}
2024 java_gpg_secret_key : ${{ secrets.JAVA_GPG_SECRET_KEY }}
2125 ossrh_password : ${{ secrets.OSSRH_PASSWORD }}
You can’t perform that action at this time.
0 commit comments