We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff5522b commit e3ee5e4Copy full SHA for e3ee5e4
1 file changed
.github/workflows/lib_run.yml
@@ -57,13 +57,19 @@ jobs:
57
fi
58
sleep 1
59
done
60
- kill $PID 2>/dev/null || true
61
- wait $PID 2>/dev/null || true
+ if [[ "$RUNNER_OS" == "Windows" ]]; then
+ taskkill //F //T //PID $PID 2>/dev/null || true
62
+ else
63
+ kill $PID 2>/dev/null || true
64
+ wait $PID 2>/dev/null || true
65
+ fi
66
+ echo "Run log:"
67
+ cat output.log
68
+ echo ""
69
if [ "$FOUND" = true ]; then
70
echo "Success: Found target output"
71
exit 0
72
else
73
echo "Failure: Timeout after 60s without finding target output"
- cat output.log
74
exit 1
75
0 commit comments