Skip to content

Commit fbb54c1

Browse files
feat: update to v15 and workflows (#587)
* feat: update to v15 * feat: update to v15
1 parent 8f8acb1 commit fbb54c1

33 files changed

+349
-165
lines changed

.github/workflows/accounting_generate.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,20 @@ name: Generate Accounting library
66
description: Force generation of SDKs
77
type: boolean
88
default: false
9+
set_version:
10+
description: Optionally set a specific SDK version.
11+
type: string
912
jobs:
1013
generate:
11-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
14+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
1215
with:
13-
speakeasy_version: latest
14-
openapi_doc_location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
15-
languages: |-
16-
- python: ./previous-versions/accounting
17-
create_release: true
1816
mode: pr
17+
speakeasy_version: latest
1918
force: ${{ github.event.inputs.force }}
20-
publish_python: true
19+
set_version: ${{ github.event.inputs.set_version }}
20+
target: accounting-library
2121
secrets:
2222
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2323
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
2424
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
25+
pypi_token: ${{ secrets.PYPI_TOKEN }}

.github/workflows/accounting_release.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ name: Release Accounting library
77
- main
88
jobs:
99
publish:
10-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
11-
with:
12-
create_release: true
13-
publish_python: true
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
1411
secrets:
1512
github_access_token: ${{ secrets.GITHUB_TOKEN }}
1613
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/assess_generate.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,20 @@ name: Generate Assess library
66
description: Force generation of SDKs
77
type: boolean
88
default: false
9+
set_version:
10+
description: Optionally set a specific SDK version.
11+
type: string
912
jobs:
1013
generate:
11-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
14+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
1215
with:
13-
speakeasy_version: latest
14-
openapi_doc_location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Assess.yaml
15-
languages: |-
16-
- python: ./previous-versions/assess
17-
create_release: true
1816
mode: pr
17+
speakeasy_version: latest
1918
force: ${{ github.event.inputs.force }}
20-
publish_python: true
19+
set_version: ${{ github.event.inputs.set_version }}
20+
target: assess-library
2121
secrets:
2222
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2323
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
2424
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
25+
pypi_token: ${{ secrets.PYPI_TOKEN }}

.github/workflows/assess_release.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ name: Release Assess library
77
- main
88
jobs:
99
publish:
10-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
11-
with:
12-
create_release: true
13-
publish_python: true
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
1411
secrets:
1512
github_access_token: ${{ secrets.GITHUB_TOKEN }}
1613
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/bank_feeds_generate.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,20 @@ name: Generate Bank Feeds library
66
description: Force generation of SDKs
77
type: boolean
88
default: false
9+
set_version:
10+
description: Optionally set a specific SDK version.
11+
type: string
912
jobs:
1013
generate:
11-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
14+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
1215
with:
13-
speakeasy_version: latest
14-
openapi_doc_location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
15-
languages: |-
16-
- python: ./bank-feeds
17-
create_release: true
1816
mode: pr
17+
speakeasy_version: latest
1918
force: ${{ github.event.inputs.force }}
20-
publish_python: true
19+
set_version: ${{ github.event.inputs.set_version }}
20+
target: bank-feeds-library
2121
secrets:
2222
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2323
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
2424
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
25+
pypi_token: ${{ secrets.PYPI_TOKEN }}

.github/workflows/bank_feeds_release.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ name: Release Bank Feeds library
77
- main
88
jobs:
99
publish:
10-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
11-
with:
12-
create_release: true
13-
publish_python: true
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
1411
secrets:
1512
github_access_token: ${{ secrets.GITHUB_TOKEN }}
1613
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/banking_generate.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,20 @@ name: Generate Banking library
66
description: Force generation of SDKs
77
type: boolean
88
default: false
9+
set_version:
10+
description: Optionally set a specific SDK version.
11+
type: string
912
jobs:
1013
generate:
11-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
14+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
1215
with:
13-
speakeasy_version: latest
14-
openapi_doc_location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
15-
languages: |-
16-
- python: ./previous-versions/banking
17-
create_release: true
1816
mode: pr
17+
speakeasy_version: latest
1918
force: ${{ github.event.inputs.force }}
20-
publish_python: true
19+
set_version: ${{ github.event.inputs.set_version }}
20+
target: banking-library
2121
secrets:
2222
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2323
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
2424
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
25+
pypi_token: ${{ secrets.PYPI_TOKEN }}

.github/workflows/banking_release.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ name: Release Banking library
77
- main
88
jobs:
99
publish:
10-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
11-
with:
12-
create_release: true
13-
publish_python: true
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
1411
secrets:
1512
github_access_token: ${{ secrets.GITHUB_TOKEN }}
1613
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/commerce_generate.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,20 @@ name: Generate Commerce library
66
description: Force generation of SDKs
77
type: boolean
88
default: false
9+
set_version:
10+
description: Optionally set a specific SDK version.
11+
type: string
912
jobs:
1013
generate:
11-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-generation.yaml@v14
14+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
1215
with:
13-
speakeasy_version: latest
14-
openapi_doc_location: https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
15-
languages: |-
16-
- python: ./previous-versions/commerce
17-
create_release: true
1816
mode: pr
17+
speakeasy_version: latest
1918
force: ${{ github.event.inputs.force }}
20-
publish_python: true
19+
set_version: ${{ github.event.inputs.set_version }}
20+
target: commerce-library
2121
secrets:
2222
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2323
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
2424
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
25+
pypi_token: ${{ secrets.PYPI_TOKEN }}

.github/workflows/commerce_release.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ name: Release Commerce library
77
- main
88
jobs:
99
publish:
10-
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v14
11-
with:
12-
create_release: true
13-
publish_python: true
10+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
1411
secrets:
1512
github_access_token: ${{ secrets.GITHUB_TOKEN }}
1613
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

0 commit comments

Comments
 (0)