Skip to content

Commit 7b9a7fc

Browse files
authored
SWI-6181 Update Deploy Workflow (#226)
* SWI-6181 Update Deploy Workflow * prerelease
1 parent 17b768f commit 7b9a7fc

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ jobs:
4949
with:
5050
ref: feature/openapi-generator-sdk
5151

52+
- name: Build SDK
53+
uses: Bandwidth/[email protected]
54+
with:
55+
openapi-generator-version: 7.7.0
56+
language: python
57+
additional-properties: --additional-properties=packageVersion=$RELEASE_VERSION
58+
5259
- name: Install Packages
5360
run: |
5461
pip install -r requirements.txt
@@ -109,7 +116,7 @@ jobs:
109116
run: |
110117
re=[0-9]+\.[0-9]+\.[0-9]+
111118
if ! [[ $RELEASE_VERSION =~ $re ]]; then
112-
echo 'Tag does not match expected regex pattern for beta releases (v[0-9]+.[0-9]+.[0-9]+b[0-9]+)'
119+
echo 'Tag does not match expected regex pattern for releases (v[0-9]+.[0-9]+.[0-9]+b[0-9]+)'
113120
echo $RELEASE_VERSION
114121
echo 'Please update your tag to match the expected regex pattern'
115122
exit 1
@@ -118,6 +125,13 @@ jobs:
118125
- name: Checkout
119126
uses: actions/checkout@v4
120127

128+
- name: Build SDK
129+
uses: Bandwidth/[email protected]
130+
with:
131+
openapi-generator-version: 7.7.0
132+
language: python
133+
additional-properties: --additional-properties=packageVersion=$RELEASE_VERSION
134+
121135
- name: Install Packages
122136
run: |-
123137
pip install -r requirements.txt

0 commit comments

Comments
 (0)