[CI] update later hash step
Some checks failed
Build / Build (push) Failing after 18s

This commit is contained in:
Marius Alwan Meyer 2023-07-20 23:18:22 +00:00
parent 5e9cf391c5
commit c7e21c54b7

View File

@ -27,7 +27,7 @@ jobs:
ln -s /usr/src/zephyr-3.4.0/zephyr zephyr
ln -s /usr/src/zephyr-3.4.0/bootloader bootloader
- name: Hash west module
- name: Hash west modules
id: hash-west
run: |
FILE_PATH=zephyr/west.yml
@ -87,9 +87,10 @@ jobs:
path: firmware.zip
name: firmware.zip
- name: Hash west module
- name: Hash west modules
id: hash-west
run: |
HASH=$(sha256sum zephyr/west.yml | head -c 64)
FILE_PATH=zephyr/west.yml
HASH=$(sha256sum <(find . -name build.yml -o -name west.yml -type f -exec sha256sum \; | sort) | head -c 64)
echo "hash=$HASH" >> "$GITHUB_OUTPUT"
echo "computed hash: $HASH"