File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 26
26
set_version : ${{ github.event.inputs.set_version }}
27
27
secrets :
28
28
github_access_token : ${{ secrets.GITHUB_TOKEN }}
29
+ pypi_token : ${{ secrets.PYPI_TOKEN }}
29
30
speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
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
+ id-token : write
8
+ " on " :
9
+ push :
10
+ branches :
11
+ - main
12
+ paths :
13
+ - .speakeasy/gen.lock
14
+ workflow_dispatch : {}
15
+ jobs :
16
+ publish :
17
+ uses : speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
18
+ with :
19
+ target : client
20
+ secrets :
21
+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
22
+ pypi_token : ${{ secrets.PYPI_TOKEN }}
23
+ speakeasy_api_key : ${{ secrets.SPEAKEASY_API_KEY }}
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ targets:
10
10
client :
11
11
target : python
12
12
source : Mollie API
13
+ publish :
14
+ pypi :
15
+ token : $pypi_token
13
16
codeSamples :
14
17
registry :
15
18
location : registry.speakeasyapi.dev/mollie-oom/mollie/mollie-api-python-code-samples
You can’t perform that action at this time.
0 commit comments