From 81235bdbaeb6a4cd0a52987cc329f2eb2ac283a6 Mon Sep 17 00:00:00 2001 From: "Harold Spencer Jr." Date: Mon, 6 Oct 2025 13:58:09 -0700 Subject: [PATCH] Fix Update DeliveryOptions github actions step (#116) --- .github/workflows/build-release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index caed705..a52a0b8 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -221,12 +221,13 @@ jobs: ] EOF ) - echo "DELIVERY_OPTIONS=$(echo "$json" | jq -r .)" >> $GITHUB_OUTPUT + echo "DELIVERY_OPTIONS=$(echo "$json" | jq -c .)" >> $GITHUB_OUTPUT - name: Update DeliveryOptions in marketplace-revision-release.yaml env: DELIVERY_OPTIONS: ${{ steps.delivery_options.outputs.DELIVERY_OPTIONS }} - run: yq -i '.ChangeSet[].DetailsDocument.DeliveryOptions = fromjson(env.DELIVERY_OPTIONS)' marketplace-revision-release.yaml + run: | + yq -i '.ChangeSet[].DetailsDocument.DeliveryOptions = strenv(DELIVERY_OPTIONS) | fromjson' marketplace-revision-release.yaml - name: Publish New Release to AWS Marketplace Catalog Management Portal run: |