mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-10-20 00:00:39 +00:00
changed build fail param
This commit is contained in:
parent
26f73fb4ea
commit
e0149a620d
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
|
|
@ -24,11 +24,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
./ballisticakit_server > server-output.log 2>&1 &
|
./ballisticakit_server > server-output.log 2>&1 &
|
||||||
SERVER_PID=$!
|
SERVER_PID=$!
|
||||||
sleep 50 # let it run for 30 seconds
|
sleep 30 # let it run for 30 seconds
|
||||||
kill $SERVER_PID # terminate the server
|
kill $SERVER_PID # terminate the server
|
||||||
- name: Check server output for success message
|
- name: Check server output for success message
|
||||||
run: |
|
run: |
|
||||||
if ! grep -q "Master server access check of udp port 43210 failed." server-output.log; then
|
if grep -E "Exception|RuntimeError" server-output.log; then
|
||||||
echo "Success message not found. Check server-output.log for details."
|
echo "Success message not found. Check server-output.log for details."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue