From 699449aa1347873269dd4e968bd46a6c774d5cfc Mon Sep 17 00:00:00 2001 From: Tyler Mairose Date: Tue, 6 Aug 2024 15:22:16 -0400 Subject: [PATCH] Update pipeline for v2024 golang release --- .github/workflows/build-go-sdk.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-go-sdk.yml b/.github/workflows/build-go-sdk.yml index 83a02954..81ebcc92 100644 --- a/.github/workflows/build-go-sdk.yml +++ b/.github/workflows/build-go-sdk.yml @@ -61,8 +61,17 @@ jobs: java -jar openapi-generator-cli.jar generate -i ../idn/sailpoint-api.beta.yaml -g go -o api_beta --global-property skipFormModel=false --config sdk-resources/beta-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk/v2 --git-user-id sailpoint-oss node sdk-resources/postscript.js ./api_beta - - name: After SDK Build + - name: Build V2024 SDK + id: buildV2024 if: steps.buildBeta.outcome == 'success' + run: | + cd golang-sdk + rm -rf ./api_v2024 + java -jar openapi-generator-cli.jar generate -i ../idn/sailpoint-api.v2024.yaml -g go -o api_v2024 --global-property skipFormModel=false --config sdk-resources/v2024-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk/v2 --git-user-id sailpoint-oss + node sdk-resources/postscript.js ./api_v2024 + + - name: After SDK Build + if: steps.buildV2024.outcome == 'success' run: | cd golang-sdk/ go get -d ./...