File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101
101
run : |
102
102
DYLIBS=$(ldd ./target/x86_64-unknown-linux-gnu/debug/tmc-langs-cli)
103
103
EXPECTED=5
104
- ACTUAL=$($DYLIBS | wc -l)
104
+ ACTUAL=$(echo $DYLIBS | wc -l)
105
105
if [ $ACTUAL -ne $EXPECTED ]; then
106
106
echo "::error title=unexpected-dynamic-libraries::Expected $EXPECTED dynamic libraries, found $ACTUAL ($DYLIBS)"
107
107
exit 1
@@ -111,8 +111,8 @@ jobs:
111
111
if : matrix.os == 'macos-latest'
112
112
run : |
113
113
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)
116
116
if [ $ACTUAL -ne $EXPECTED ]; then
117
117
echo "::error title=unexpected-dynamic-libraries::Expected $EXPECTED dynamic libraries, found $ACTUAL ($DYLIBS)"
118
118
exit 1
You can’t perform that action at this time.
0 commit comments