diff --git a/entrypoint.sh b/entrypoint.sh index 42f1f22..54896d5 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -19,8 +19,8 @@ fi # Export for project echo "Building $1 for $2" mkdir -p $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""} -cd ${5-"$GITHUB_WORKSPACE"} -godot --${mode} $2 $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""}$1 +cd "$GITHUB_WORKSPACE/$5" +godot --${mode} "$2" $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""}$1 echo "Build Done" echo ::set-output name=build::build/${SubDirectoryLocation:-""}