Skip to content

Commit

Permalink
SWI-6181 Update Deploy Workflow (#226)
Browse files Browse the repository at this point in the history
* SWI-6181 Update Deploy Workflow

* prerelease
  • Loading branch information
ckoegel authored Nov 12, 2024
1 parent 17b768f commit 7b9a7fc
Showing 1 changed file with 15 additions and 1 deletion.
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/[email protected]
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/[email protected]
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

0 comments on commit 7b9a7fc

Please sign in to comment.