From 5e8405bd7709aeb4390ac67a29fbcc3f7c9c7ce2 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn <sthulb@users.noreply.github.com> Date: Mon, 14 Oct 2024 13:17:29 +0200 Subject: [PATCH] fix: test command in verify step (#5381) Co-authored-by: Simon Thulbourn <sthulb@@users.noreply.github.com> --- .github/workflows/layer_govcloud.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/layer_govcloud.yml b/.github/workflows/layer_govcloud.yml index c9750d6f837..4a25e2541e2 100644 --- a/.github/workflows/layer_govcloud.yml +++ b/.github/workflows/layer_govcloud.yml @@ -139,7 +139,7 @@ jobs: run: | REMOTE_SHA=$(aws --region us-gov-east-1 lambda get-layer-version-by-arn --arn arn:aws-us-gov:lambda:us-gov-east-1:${{ secrets.AWS_ACCOUNT_ID }}:layer:${{ matrix.layer }}-${{ matrix.arch }}:${{ inputs.version }} --query 'Content.CodeSha256' --output text) SHA=$(jq -r '.Content.CodeSha256' ${{ matrix.layer }}_${{ matrix.arch }}.json) - test $($REMOTE_SHA == $SHA && echo "SHA OK: ${SHA}" || exit 1 + test $REMOTE_SHA == $SHA && echo "SHA OK: ${SHA}" || exit 1 copy_west: name: Copy (West) @@ -200,4 +200,4 @@ jobs: run: | 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:${{ matrix.layer }}-${{ matrix.arch }}:${{ inputs.version }} --query 'Content.CodeSha256' --output text) SHA=$(jq -r '.Content.CodeSha256' ${{ matrix.layer }}_${{ matrix.arch }}.json) - test $($REMOTE_SHA == $SHA && echo "SHA OK: ${SHA}" || exit 1 \ No newline at end of file + test $REMOTE_SHA == $SHA && echo "SHA OK: ${SHA}" || exit 1 \ No newline at end of file