diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index b68e713..32461a4 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -31,7 +31,8 @@ jobs: id: hash-west run: | FILE_PATH=zephyr/west.yml - HASH="$(sha256sum <(find . -name build.yml -o -name west.yml -type f -exec sha256sum \; | sort) | head -c 64)" + FILES=$(find . -name build.yml -o -name west.yml -type f -exec sha256sum \; | sort) + HASH="$(echo -n $FILES | sha256sum | head -c 64)" echo "hash=$HASH" >> "$GITHUB_OUTPUT" echo "computed hash: $HASH"