File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ jobs:
104104 LAYER_VERSION=$(aws --region us-gov-east-1 lambda publish-layer-version \
105105 --layer-name AWSLambdaPowertoolsTypeScriptV2 \
106106 --zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
107- --compatible-runtimes "$(jq -r '.CompatibleRuntimes[0] ' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
107+ --compatible-runtimes "$(echo \"$( jq -r '.CompatibleRuntimes | join(" ") ' 'AWSLambdaPowertoolsTypeScriptV2.json')\" | sed -e "s/ /\" \"/g" )" \
108108 --license-info "MIT-0" \
109109 --description "$(jq -r '.Description' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
110110 --query 'Version' \
@@ -161,7 +161,7 @@ jobs:
161161 LAYER_VERSION=$(aws --region us-gov-west-1 lambda publish-layer-version \
162162 --layer-name AWSLambdaPowertoolsTypeScriptV2 \
163163 --zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
164- --compatible-runtimes "$(jq -r '.CompatibleRuntimes[0] ' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
164+ --compatible-runtimes "$(echo \"$( jq -r '.CompatibleRuntimes | join(" ") ' 'AWSLambdaPowertoolsTypeScriptV2.json')\" | sed -e "s/ /\" \"/g" )" \
165165 --license-info "MIT-0" \
166166 --description "$(jq -r '.Description' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
167167 --query 'Version' \
You can’t perform that action at this time.
0 commit comments