File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ jobs:
105
105
--layer-name AWSLambdaPowertoolsTypeScriptV2 \
106
106
--zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
107
107
--compatible-runtimes "$(jq -r '.CompatibleRuntimes[0]' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
108
- --compatible-architectures "$(jq -r '.CompatibleArchitectures[0]' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
109
108
--license-info "MIT-0" \
110
109
--description "$(jq -r '.Description' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
111
110
--query 'Version' \
@@ -163,7 +162,6 @@ jobs:
163
162
--layer-name AWSLambdaPowertoolsTypeScriptV2 \
164
163
--zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
165
164
--compatible-runtimes "$(jq -r '.CompatibleRuntimes[0]' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
166
- --compatible-architectures "$(jq -r '.CompatibleArchitectures[0]' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
167
165
--license-info "MIT-0" \
168
166
--description "$(jq -r '.Description' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
169
167
--query 'Version' \
@@ -184,4 +182,4 @@ jobs:
184
182
REMOTE_SHA=$(aws --region us-gov-west-1 lambda get-layer-version-by-arn --arn 'arn:aws-us-gov:lambda:us-gov-west-1:${{ secrets.AWS_ACCOUNT_ID }}:layer:AWSLambdaPowertoolsTypeScriptV2:${{ env.LAYER_VERSION }}' --query 'Content.CodeSha256' --output text)
185
183
SHA=$(jq -r '.Content.CodeSha256' 'AWSLambdaPowertoolsTypeScriptV2.json')
186
184
test "$REMOTE_SHA" == "$SHA" && echo "SHA OK: ${SHA}" || exit 1
187
- aws --region us-gov-west-1 lambda get-layer-version-by-arn --arn 'arn:aws-us-gov:lambda:us-gov-west-1:${{ secrets.AWS_ACCOUNT_ID }}:layer:AWSLambdaPowertoolsTypeScriptV2:${{ env.LAYER_VERSION }}' --output table
185
+ aws --region us-gov-west-1 lambda get-layer-version-by-arn --arn 'arn:aws-us-gov:lambda:us-gov-west-1:${{ secrets.AWS_ACCOUNT_ID }}:layer:AWSLambdaPowertoolsTypeScriptV2:${{ env.LAYER_VERSION }}' --output table
You can’t perform that action at this time.
0 commit comments