fix ephemeral runner upgrade on mac/linux (#1401)

This commit is contained in:
Thomas Boop
2021-10-04 14:30:09 -04:00
committed by GitHub
parent 4d908df4b2
commit 98a1935e50
3 changed files with 17 additions and 7 deletions
+15
View File
@@ -43,6 +43,21 @@ else
else
sleep 5
fi
elif [[ $returnCode == 4 ]]; then
if [ ! -x "$(command -v sleep)" ]; then
if [ ! -x "$(command -v ping)" ]; then
COUNT="0"
while [[ $COUNT != 5000 ]]; do
echo "SLEEP" > /dev/null
COUNT=$[$COUNT+1]
done
else
ping -c 5 127.0.0.1 > /dev/null
fi
else
sleep 5
fi
"$DIR"/bin/Runner.Listener run $*
else
exit $returnCode
fi
+1 -1
View File
@@ -1 +1 @@
2.283.2
2.283.3