build: Use build matrix instead of branches for variants

This commit is contained in:
Geoff Bourne
2022-01-28 21:49:29 -06:00
parent 8f8acc40f5
commit 0b71383146
19 changed files with 119 additions and 85 deletions

View File

@@ -243,6 +243,10 @@ EOF
elif [[ $SERVER =~ run.sh ]]; then
log "Using Forge supplied run.sh script..."
echo $JVM_XX_OPTS $JVM_OPTS $expandedDOpts > user_jvm_args.txt
if isTrue ${SETUP_ONLY:=false}; then
echo "SETUP_ONLY: bash ${SERVER}"
exit
fi
exec mc-server-runner "${mcServerRunnerArgs[@]}" --shell bash "${SERVER}"
else
# If we have a bootstrap.txt file... feed that in to the server stdin