Skip to content

Commit

Permalink
Update github actions for v2024
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-mairose-sp committed Jul 12, 2024
1 parent c8b7e5f commit 0e34ffc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
run: |
rm -rf ./sailpoint/v3
java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v3.yaml -g python -o . --global-property skipFormModel=false --config sdk-resources/v3-config.yaml --enable-post-process-file
- name: Build Beta SDK
id: buildBeta
if: steps.buildV3.outcome == 'success'
Expand All @@ -58,8 +57,16 @@ jobs:
java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.beta.yaml -g python -o . --global-property skipFormModel=false --config sdk-resources/beta-config.yaml --enable-post-process-file
node sdk-resources/postscript.js ./sailpoint/beta
- name: After SDK Build
- name: Build V2024 SDK
id: buildV2024
if: steps.buildBeta.outcome == 'success'
run: |
rm -rf ./sailpoint/v2024
java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v2024.yaml -g python -o . --global-property skipFormModel=false --config sdk-resources/v2024-config.yaml --enable-post-process-file
node sdk-resources/postscript.js ./sailpoint/v2024
- name: After SDK Build
if: steps.buildV2024.outcome == 'success'
run: |
pip install -r requirements.txt
pip install -e .
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/bump_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,18 @@ jobs:
rm -rf ./sailpoint/beta
java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.beta.yaml -g python -o . --global-property skipFormModel=false --config sdk-resources/beta-config.yaml --enable-post-process-file
node sdk-resources/postscript.js ./sailpoint/beta
- name: Build V2024 SDK
id: buildV2024
if: steps.buildBeta.outcome == 'success'
run: |
rm -rf ./sailpoint/v2024
java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v2024.yaml -g python -o . --global-property skipFormModel=false --config sdk-resources/v2024-config.yaml --enable-post-process-file
node sdk-resources/postscript.js ./sailpoint/v2024
- name: After SDK Build
id: buildSDK
if: steps.buildBeta.outcome == 'success'
if: steps.buildV2024.outcome == 'success'
shell: pwsh
run: |
pip install -r requirements.txt
Expand Down

0 comments on commit 0e34ffc

Please sign in to comment.