mirror of
https://github.com/LITW-Refined/GTNH-Actions-Workflows.git
synced 2025-12-23 11:18:32 +00:00
Add -p to mkdir to not crash if the folder already exists (#18)
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user