Skip to content

Commit c7004a8

Browse files
committed
regen with workflows
1 parent 5a1358a commit c7004a8

File tree

3,812 files changed

+262222
-8179
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,812 files changed

+262222
-8179
lines changed
+22-28
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,26 @@
11
name: Generate
22
permissions:
3-
checks: write
4-
contents: write
5-
pull-requests: write
6-
statuses: write
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
77
"on":
8-
workflow_dispatch:
9-
inputs:
10-
force:
11-
description: Force generation of SDKs
12-
type: boolean
13-
default: false
14-
schedule:
15-
- cron: 0 0 * * *
8+
workflow_dispatch:
9+
inputs:
10+
force:
11+
description: Force generation of SDKs
12+
type: boolean
13+
default: false
14+
schedule:
15+
- cron: 0 0 * * *
1616
jobs:
17-
generate:
18-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
19-
with:
20-
force: ${{ github.event.inputs.force }}
21-
languages: |
22-
- java
23-
mode: pr
24-
openapi_doc_auth_header: x-api-key
25-
openapi_docs: |
26-
- https://app.speakeasyapi.dev/v1/apis/public-api/version/1.0.0/schema/download
27-
publish_java: true
28-
speakeasy_version: latest
29-
secrets:
30-
github_access_token: ${{ secrets.GITHUB_TOKEN }}
31-
openapi_doc_auth_token: ${{ secrets.SPEAKEASY_API_KEY }}
32-
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
17+
generate:
18+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
19+
with:
20+
force: ${{ github.event.inputs.force }}
21+
mode: pr
22+
speakeasy_version: latest
23+
secrets:
24+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
25+
openapi_doc_auth_token: ${{ secrets.SPEAKEASY_API_KEY }}
26+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
+14-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
name: Publish
22
"on":
3-
push:
4-
branches:
5-
- main
6-
paths:
7-
- RELEASES.md
3+
push:
4+
branches:
5+
- main
6+
paths:
7+
- RELEASES.md
88
jobs:
9-
publish:
10-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
11-
with:
12-
create_release: true
13-
publish_java: true
14-
secrets:
15-
github_access_token: ${{ secrets.GITHUB_TOKEN }}
16-
java_gpg_passphrase: ${{ secrets.JAVA_GPG_PASSPHRASE }}
17-
java_gpg_secret_key: ${{ secrets.JAVA_GPG_SECRET_KEY }}
18-
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}
19-
ossrh_username: ${{ secrets.OSSRH_USERNAME }}
20-
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
9+
publish:
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
11+
secrets:
12+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
13+
java_gpg_passphrase: ${{ secrets.JAVA_GPG_PASSPHRASE }}
14+
java_gpg_secret_key: ${{ secrets.JAVA_GPG_SECRET_KEY }}
15+
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}
16+
ossrh_username: ${{ secrets.OSSRH_USERNAME }}
17+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.speakeasy/gen.lock

+3,617-136
Large diffs are not rendered by default.

.speakeasy/workflow.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
workflowVersion: 1.0.0
2+
sources:
3+
my-source:
4+
inputs:
5+
- location: https://raw.githubusercontent.com/airbytehq/airbyte-api-python-sdk/main/airbyte-api.openapi.yaml
6+
targets:
7+
airbyte-api:
8+
target: java
9+
source: my-source
10+
publish:
11+
java:
12+
ossrhUsername: $OSSRH_USERNAME
13+
ossrhPassword: $OSSRH_PASSWORD
14+
gpgSecretKey: $JAVA_GPG_SECRET_KEY
15+
gpgPassPhrase: $JAVA_GPG_PASSPHRASE
16+
useSonatypeLegacy: true

0 commit comments

Comments
 (0)