Skip to content

Commit 519d233

Browse files
committed
Update workflow file
1 parent 0361a56 commit 519d233

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed
Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,32 @@
11
name: Generate
2-
32
permissions:
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:
13-
description: "Force the generation of the SDKs"
11+
description: Force generation of SDKs
1412
type: boolean
1513
default: false
1614
schedule:
17-
- cron: 0 0 * * * # Runs every day at midnight
18-
15+
- cron: 0 0 * * *
1916
jobs:
2017
generate:
21-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14 # Import the sdk generation workflow which will handle the generation of the SDKs and publishing to the package managers
18+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
2219
with:
2320
force: ${{ github.event.inputs.force }}
24-
speakeasy_version: latest
25-
openapi_doc_location: https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
26-
openapi_doc_auth_header: x-api-key
27-
languages: |-
21+
languages: |
2822
- java
29-
publish_java: true
3023
mode: pr
24+
openapi_doc_auth_header: x-api-key
25+
openapi_docs: |
26+
- https://prod.speakeasyapi.dev/v1/apis/public-api/version/1.0.0/schema/download
27+
publish_java: true
28+
speakeasy_version: latest
3129
secrets:
32-
speakeasy_api_key: ${{ secrets.SPEAKEASY_PROD_API_KEY }}
3330
github_access_token: ${{ secrets.GITHUB_TOKEN }}
34-
openapi_doc_auth_token: ${{ secrets.SPEAKEASY_API_KEY }}
31+
openapi_doc_auth_token: ${{ secrets.SPEAKEASY_API_KEY }}
32+
speakeasy_api_key: ${{ secrets.SPEAKEASY_PROD_API_KEY }}

0 commit comments

Comments
 (0)