Skip to content

Commit 95e3d26

Browse files
committed
Fix workflow
1 parent 9ab151f commit 95e3d26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 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=$($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
@@ -111,8 +111,8 @@ jobs:
111111
if: matrix.os == 'macos-latest'
112112
run: |
113113
DYLIBS=$(otool -L ./target/aarch64-apple-darwin/debug/tmc-langs-cli)
114-
EXPECTED=5
115-
ACTUAL=$($DYLIBS | wc -l)
114+
EXPECTED=4
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)