From 8381e6ce69306b6dfc45e6dd592d754ff964df8d Mon Sep 17 00:00:00 2001 From: Raven Szewczyk Date: Fri, 31 Oct 2025 11:21:37 +0000 Subject: [PATCH] Fix server startup error with the new buildscript --- .github/workflows/build-and-test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 7771ece..6cc51c4 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -119,10 +119,12 @@ jobs: - name: Run server for up to ${{ inputs.timeout }} seconds if: ${{ !inputs.client-only }} run: | - mkdir -p run + mkdir -p run/server echo "eula=true" > run/eula.txt + echo "eula=true" > run/server/eula.txt # Set a constant seed with a village at spawn echo "level-seed=-6202107849386030209\nonline-mode=true\n" > run/server.properties + echo "level-seed=-6202107849386030209\nonline-mode=true\n" > run/server/server.properties echo "stop" > run/stop.txt timeout ${{ inputs.timeout }} ./gradlew --build-cache --info --stacktrace runServer 2>&1 < run/stop.txt | tee -a server.log || true