Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ jobs:
with:
ref: feature/openapi-generator-sdk

- name: Build SDK
uses: Bandwidth/generate-sdk-action@v4.0.0
with:
openapi-generator-version: 7.7.0
language: python
additional-properties: --additional-properties=packageVersion=$RELEASE_VERSION

- name: Install Packages
run: |
pip install -r requirements.txt
Expand Down Expand Up @@ -109,7 +116,7 @@ jobs:
run: |
re=[0-9]+\.[0-9]+\.[0-9]+
if ! [[ $RELEASE_VERSION =~ $re ]]; then
echo 'Tag does not match expected regex pattern for beta releases (v[0-9]+.[0-9]+.[0-9]+b[0-9]+)'
echo 'Tag does not match expected regex pattern for releases (v[0-9]+.[0-9]+.[0-9]+b[0-9]+)'
echo $RELEASE_VERSION
echo 'Please update your tag to match the expected regex pattern'
exit 1
Expand All @@ -118,6 +125,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Build SDK
uses: Bandwidth/generate-sdk-action@v4.0.0
with:
openapi-generator-version: 7.7.0
language: python
additional-properties: --additional-properties=packageVersion=$RELEASE_VERSION

- name: Install Packages
run: |-
pip install -r requirements.txt
Expand Down