Skip to content

Commit d43c09d

Browse files
committed
SWI-7144 Update Generator Version in Deploy WF
1 parent aeaefb1 commit d43c09d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,16 @@ jobs:
4747
- name: Checkout
4848
uses: actions/checkout@v4
4949

50+
- name: Set OpenAPI Generator Version
51+
run: |
52+
OPENAPI_VERSION=$(jq .[\"generator-cli\"].version openapitools.json)
53+
echo "OPENAPI_GENERATOR_VERSION=$OPENAPI_VERSION" >> $GITHUB_ENV
54+
shell: bash
55+
5056
- name: Generate SDK with Updated Version
5157
uses: Bandwidth/[email protected]
5258
with:
53-
openapi-generator-version: 7.7.0
59+
openapi-generator-version: ${{ env.OPENAPI_GENERATOR_VERSION }}
5460
language: python
5561
additional-properties: --additional-properties=packageVersion=$RELEASE_VERSION
5662

0 commit comments

Comments
 (0)