Skip to content

Commit af972d3

Browse files
ci: update to workflow v3
1 parent 2d7ca11 commit af972d3

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/generation.yml

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

88
jobs:
99
generate:
10-
name: Generate SDK
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: speakeasy-api/sdk-generation-action@v1.4
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-
- typescript
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v3
11+
with:
12+
speakeasy_version: latest
13+
openapi_doc_location: https://docs.speakeasyapi.dev/openapi.yaml
14+
languages: |-
15+
- typescript
16+
publish_typescript: true
17+
secrets:
18+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
19+
npm_token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)