We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48914aa commit d881421Copy full SHA for d881421
1 file changed
.github/workflows/stack_size.yml
@@ -54,8 +54,14 @@ jobs:
54
sha256sum $bin
55
done
56
57
+ sha256() {
58
+ sha256sum "$1" | cut -d' ' -f1
59
+ }
60
+ CHELF=$(sha256 monerod-chelf)
61
find . -iname "monerod-*" | while read -r bin; do
- if [ ! $(sha256sum monerod-chelf | cut -d' ' -f1) = $(sha256sum $bin | cut -d' ' -f1) ]; then
62
+ BIN=$(sha256 "$bin")
63
+ if [ ! "$CHELF" = "$BIN" ]; then
64
+ echo "Different artifact between monerod-chelf ($CHELF) and $bin ($BIN)"
65
exit 1
66
fi
67
0 commit comments