mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2025-07-01 18:01:28 +02:00
Add -p
to mkdir
to not crash if the folder already exists (#18)
This commit is contained in:
parent
e60ae77d0a
commit
6fa7d911d5
2
.github/workflows/build-and-test.yml
vendored
2
.github/workflows/build-and-test.yml
vendored
@ -80,7 +80,7 @@ jobs:
|
||||
- name: Run server for ${{ inputs.timeout }} seconds
|
||||
if: ${{ !inputs.client-only }}
|
||||
run: |
|
||||
mkdir run
|
||||
mkdir -p run
|
||||
echo "eula=true" > run/eula.txt
|
||||
echo "stop" > run/stop.txt
|
||||
timeout ${{ inputs.timeout }} ./gradlew --info --stacktrace runServer 2>&1 < run/stop.txt | tee -a server.log || true
|
||||
|
Loading…
x
Reference in New Issue
Block a user