This commit is contained in:
parent
5e9cf391c5
commit
c7e21c54b7
@ -27,7 +27,7 @@ jobs:
|
|||||||
ln -s /usr/src/zephyr-3.4.0/zephyr zephyr
|
ln -s /usr/src/zephyr-3.4.0/zephyr zephyr
|
||||||
ln -s /usr/src/zephyr-3.4.0/bootloader bootloader
|
ln -s /usr/src/zephyr-3.4.0/bootloader bootloader
|
||||||
|
|
||||||
- name: Hash west module
|
- name: Hash west modules
|
||||||
id: hash-west
|
id: hash-west
|
||||||
run: |
|
run: |
|
||||||
FILE_PATH=zephyr/west.yml
|
FILE_PATH=zephyr/west.yml
|
||||||
@ -87,9 +87,10 @@ jobs:
|
|||||||
path: firmware.zip
|
path: firmware.zip
|
||||||
name: firmware.zip
|
name: firmware.zip
|
||||||
|
|
||||||
- name: Hash west module
|
- name: Hash west modules
|
||||||
id: hash-west
|
id: hash-west
|
||||||
run: |
|
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 "hash=$HASH" >> "$GITHUB_OUTPUT"
|
||||||
echo "computed hash: $HASH"
|
echo "computed hash: $HASH"
|
||||||
|
Loading…
Reference in New Issue
Block a user