diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3cf5c822..14f79a0b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 @@ -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 @@ -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