Skip to content

Commit dafa496

Browse files
authored
fix(ci): Remove --compatible-architectures from workflow (#3752)
1 parent 42f0cf4 commit dafa496

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: .github/workflows/layers_govcloud.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ jobs:
105105
--layer-name AWSLambdaPowertoolsTypeScriptV2 \
106106
--zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
107107
--compatible-runtimes "$(jq -r '.CompatibleRuntimes[0]' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
108-
--compatible-architectures "$(jq -r '.CompatibleArchitectures[0]' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
109108
--license-info "MIT-0" \
110109
--description "$(jq -r '.Description' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
111110
--query 'Version' \
@@ -163,7 +162,6 @@ jobs:
163162
--layer-name AWSLambdaPowertoolsTypeScriptV2 \
164163
--zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
165164
--compatible-runtimes "$(jq -r '.CompatibleRuntimes[0]' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
166-
--compatible-architectures "$(jq -r '.CompatibleArchitectures[0]' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
167165
--license-info "MIT-0" \
168166
--description "$(jq -r '.Description' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
169167
--query 'Version' \
@@ -184,4 +182,4 @@ jobs:
184182
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)
185183
SHA=$(jq -r '.Content.CodeSha256' 'AWSLambdaPowertoolsTypeScriptV2.json')
186184
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

0 commit comments

Comments
 (0)