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: |