From f8dacbd4272c001a28aaea8843c4c1f69680518d Mon Sep 17 00:00:00 2001 From: Precious Okwu <32944039+libracoder@users.noreply.github.com> Date: Fri, 24 May 2024 15:04:19 +0100 Subject: [PATCH] update zip file name (#119) --- .github/workflows/main-crossplane.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main-crossplane.yaml b/.github/workflows/main-crossplane.yaml index a2cb04ca..2547a6e0 100644 --- a/.github/workflows/main-crossplane.yaml +++ b/.github/workflows/main-crossplane.yaml @@ -85,7 +85,7 @@ jobs: if: ${{env.zip_lambda_workflow_step == true}} || ${{env.zip_lambda_workflow_step == 'true' }} run: | cd ${{ github.workspace }}/dist && ls - for file in "./"/*lambda.zip + for file in "./"/*.zip do filename=$(basename "$file" .zip) function_name=${filename%_lambda}