From c7e21c54b7f4f5e64436e8e4d25d41f624bef7bd Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+sporqist@users.noreply.github.com> Date: Thu, 20 Jul 2023 23:18:22 +0000 Subject: [PATCH] [CI] update later hash step --- .gitea/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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"