Add -p to mkdir to not crash if the folder already exists (#18)

This commit is contained in:
Raven Szewczyk 2023-01-07 14:21:59 +00:00 committed by GitHub
parent e60ae77d0a
commit 6fa7d911d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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