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:
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
You can’t perform that action at this time.
0 commit comments