Skip to content

Commit d75c69e

Browse files
committed
Fix workflow
1 parent 95e3d26 commit d75c69e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
run: |
102102
DYLIBS=$(ldd ./target/x86_64-unknown-linux-gnu/debug/tmc-langs-cli)
103103
EXPECTED=5
104-
ACTUAL=$(echo $DYLIBS | wc -l)
104+
ACTUAL=$(echo "$DYLIBS" | wc -l)
105105
if [ $ACTUAL -ne $EXPECTED ]; then
106106
echo "::error title=unexpected-dynamic-libraries::Expected $EXPECTED dynamic libraries, found $ACTUAL ($DYLIBS)"
107107
exit 1
@@ -112,7 +112,7 @@ jobs:
112112
run: |
113113
DYLIBS=$(otool -L ./target/aarch64-apple-darwin/debug/tmc-langs-cli)
114114
EXPECTED=4
115-
ACTUAL=$(echo $DYLIBS | wc -l)
115+
ACTUAL=$(echo "$DYLIBS" | wc -l)
116116
if [ $ACTUAL -ne $EXPECTED ]; then
117117
echo "::error title=unexpected-dynamic-libraries::Expected $EXPECTED dynamic libraries, found $ACTUAL ($DYLIBS)"
118118
exit 1

0 commit comments

Comments
 (0)