Skip to content

Commit d31457c

Browse files
authored
Migrated over to speakeasy workflows (#289)
Co-authored-by: David Coplowe <d.coplowe@codat.io>
1 parent 24ab967 commit d31457c

25 files changed

+243
-169
lines changed

.github/workflows/bank_feeds_generate.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ 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-
- csharp: ./bank-feeds
17-
create_release: true
18-
mode: pr
1916
force: ${{ github.event.inputs.force }}
20-
publish_csharp: true
21-
dotnet_version: 6.x
17+
mode: pr
18+
speakeasy_version: latest
19+
set_version: ${{ github.event.inputs.set_version }}
20+
target: bank-feeds-library
2221
secrets:
2322
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2423
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.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_csharp: 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/lending_generate.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ name: Generate Lending 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-Lending.yaml
15-
languages: |-
16-
- csharp: ./lending
17-
create_release: true
18-
mode: pr
1916
force: ${{ github.event.inputs.force }}
20-
publish_csharp: true
21-
dotnet_version: 6.x
17+
mode: pr
18+
speakeasy_version: latest
19+
set_version: ${{ github.event.inputs.set_version }}
20+
target: lending-library
2221
secrets:
2322
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2423
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/lending_release.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ name: Release Lending 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_csharp: 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/platform_generate.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ name: Generate Platform 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-Platform.yaml
15-
languages: |-
16-
- csharp: ./platform
17-
create_release: true
18-
mode: pr
1916
force: ${{ github.event.inputs.force }}
20-
publish_csharp: true
21-
dotnet_version: 6.x
17+
mode: pr
18+
speakeasy_version: latest
19+
set_version: ${{ github.event.inputs.set_version }}
20+
target: platform-library
2221
secrets:
2322
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2423
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/platform_release.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ name: Release Platform 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_csharp: 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/sync_for_commerce_generate.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ name: Generate Sync for 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-Sync-Commerce.yaml
15-
languages: |-
16-
- csharp: ./sync-for-commerce
17-
create_release: true
18-
mode: pr
1916
force: ${{ github.event.inputs.force }}
20-
publish_csharp: true
21-
dotnet_version: 6.x
17+
mode: pr
18+
speakeasy_version: latest
19+
set_version: ${{ github.event.inputs.set_version }}
20+
target: sync-for-commerce-library
2221
secrets:
2322
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2423
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/sync_for_commerce_release.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ name: Release Sync for 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_csharp: 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/sync_for_expenses_generate.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ name: Generate Sync for Expenses 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-Sync-Expenses.yaml
15-
languages: |-
16-
- csharp: ./sync-for-expenses
17-
create_release: true
18-
mode: pr
1916
force: ${{ github.event.inputs.force }}
20-
publish_csharp: true
21-
dotnet_version: 6.x
17+
mode: pr
18+
speakeasy_version: latest
19+
set_version: ${{ github.event.inputs.set_version }}
20+
target: sync-for-expenses-library
2221
secrets:
2322
github_access_token: ${{ secrets.GITHUB_TOKEN }}
2423
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.github/workflows/sync_for_expenses_release.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ name: Release Sync for Expenses 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_csharp: 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)