diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index f59b97a..3cf29f4 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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"