Skip to content

Commit bbb2c09

Browse files
authored
Follow Security Guide to update YAML files. (#1926)
1 parent fe616de commit bbb2c09

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/tag-and-zip.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ jobs:
5555
cd aws-iot-device-sdk-embedded-C
5656
git submodule update --init --checkout --recursive
5757
- name: Create ZIP
58+
env:
59+
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
5860
run: |
59-
zip -r aws-iot-device-sdk-embedded-C-${{ github.event.inputs.version_number }}.zip aws-iot-device-sdk-embedded-C -x "*.git*"
61+
zip -r aws-iot-device-sdk-embedded-C-$"VERSION_NUMBER".zip aws-iot-device-sdk-embedded-C -x "*.git*"
6062
ls ./
6163
- name: Validate created ZIP
6264
env:

0 commit comments

Comments
 (0)