Stop server early if it fully loads successfully (#11)

This commit is contained in:
Raven Szewczyk
2022-09-24 12:28:07 +01:00
committed by GitHub
parent 757b6e6a59
commit d9e15e4524

View File

@@ -82,7 +82,8 @@ jobs:
run: |
mkdir run
echo "eula=true" > run/eula.txt
timeout ${{ inputs.timeout }} ./gradlew --info --stacktrace runServer 2>&1 | tee -a server.log || true
echo "stop" > run/stop.txt
timeout ${{ inputs.timeout }} ./gradlew --info --stacktrace runServer 2>&1 < run/stop.txt | tee -a server.log || true
- name: Test no errors reported during server run
if: ${{ !inputs.client-only }}