Glen 7 tháng trước cách đây
mục cha
commit
faf0aaedba
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      .github/workflows/build_and_test.yml

+ 1 - 1
.github/workflows/build_and_test.yml

@@ -52,7 +52,7 @@ jobs:
           trap 'kill $TAIL1' EXIT
 
           for i in {1..100}; do
-            nodes=$(curl http://localhost:52415/topology | jq ".nodes | length")
+            nodes=$(curl http://localhost:52415/topology | $(which jq) ".nodes | length")
             if [ "$nodes" -eq "${{ strategy.job-total }}" ]; then
               break
             fi