success check in ci

This commit is contained in:
Ayush Saini 2023-08-13 19:17:50 +05:30
parent e0149a620d
commit f0a4269763

View file

@ -31,6 +31,9 @@ jobs:
if grep -E "Exception|RuntimeError" server-output.log; then
echo "Success message not found. Check server-output.log for details."
exit 1
elif ! grep -q "entering server-mode" ballistica-output.log; then
echo "Success message not found in ballistica's output."
exit 1
fi
- name: Upload ballistica output as artifact
if: always()