mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2025-11-29 11:49:58 +01:00
Fix server startup error with the new buildscript
This commit is contained in:
parent
3b8ebe9c6a
commit
8381e6ce69
4
.github/workflows/build-and-test.yml
vendored
4
.github/workflows/build-and-test.yml
vendored
@ -119,10 +119,12 @@ jobs:
|
|||||||
- name: Run server for up to ${{ inputs.timeout }} seconds
|
- name: Run server for up to ${{ inputs.timeout }} seconds
|
||||||
if: ${{ !inputs.client-only }}
|
if: ${{ !inputs.client-only }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p run
|
mkdir -p run/server
|
||||||
echo "eula=true" > run/eula.txt
|
echo "eula=true" > run/eula.txt
|
||||||
|
echo "eula=true" > run/server/eula.txt
|
||||||
# Set a constant seed with a village at spawn
|
# 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.properties
|
||||||
|
echo "level-seed=-6202107849386030209\nonline-mode=true\n" > run/server/server.properties
|
||||||
echo "stop" > run/stop.txt
|
echo "stop" > run/stop.txt
|
||||||
timeout ${{ inputs.timeout }} ./gradlew --build-cache --info --stacktrace runServer 2>&1 < run/stop.txt | tee -a server.log || true
|
timeout ${{ inputs.timeout }} ./gradlew --build-cache --info --stacktrace runServer 2>&1 < run/stop.txt | tee -a server.log || true
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user