Skip to content

Commit 26a8852

Browse files
ci: update to using publish workflow
1 parent 805901f commit 26a8852

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

.github/workflows/generation.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ on:
77

88
jobs:
99
generate:
10-
name: Generate SDK
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: speakeasy-api/[email protected]
14-
with:
15-
speakeasy_version: latest
16-
openapi_doc_location: https://docs.speakeasyapi.dev/openapi.yaml
17-
github_access_token: ${{ secrets.GITHUB_TOKEN }}
18-
languages: |-
19-
- python
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v2
11+
with:
12+
speakeasy_version: latest
13+
openapi_doc_location: https://docs.speakeasyapi.dev/openapi.yaml
14+
languages: |-
15+
- python
16+
secrets:
17+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
18+
pypi_token: ${{ secrets.PYPI_TOKEN }}

gen.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
management:
2-
openapi-checksum: 46093b002f359f8049d6b8210be2bc73
3-
openapi-version: 0.1.0
4-
speakeasy-version: 0.10.1
2+
openapi-checksum: 46093b002f359f8049d6b8210be2bc73
3+
openapi-version: 0.1.0
4+
speakeasy-version: 0.10.0
55
python:
6-
author: Speakeasy
7-
description: Speakeasy API Client SDK for Python
8-
packagename: speakeasy-client-sdk-python
9-
version: 0.3.2
6+
author: Speakeasy
7+
description: Speakeasy API Client SDK for Python
8+
packagename: speakeasy-client-sdk-python
9+
version: 0.3.2

0 commit comments

Comments
 (0)