From bbb2c09bb57356cbfd2b0b95ab8084a8aa533a02 Mon Sep 17 00:00:00 2001 From: ActoryOu Date: Mon, 25 Nov 2024 13:59:40 +0800 Subject: [PATCH] Follow Security Guide to update YAML files. (#1926) --- .github/workflows/tag-and-zip.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tag-and-zip.yml b/.github/workflows/tag-and-zip.yml index 31c3ff7461..393122ddea 100644 --- a/.github/workflows/tag-and-zip.yml +++ b/.github/workflows/tag-and-zip.yml @@ -55,8 +55,10 @@ jobs: cd aws-iot-device-sdk-embedded-C git submodule update --init --checkout --recursive - name: Create ZIP + env: + VERSION_NUMBER: ${{ github.event.inputs.version_number }} run: | - zip -r aws-iot-device-sdk-embedded-C-${{ github.event.inputs.version_number }}.zip aws-iot-device-sdk-embedded-C -x "*.git*" + zip -r aws-iot-device-sdk-embedded-C-$"VERSION_NUMBER".zip aws-iot-device-sdk-embedded-C -x "*.git*" ls ./ - name: Validate created ZIP env: