From d3c861a0694c3c728ff3e954f0dbcf3ff5b2758e Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+sporqist@users.noreply.github.com> Date: Thu, 20 Jul 2023 23:24:35 +0000 Subject: [PATCH] [CI] move things around --- .gitea/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"