From 7773d38d12a40af06466dffd5e3749a79497cb4d Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sat, 6 May 2023 23:35:27 +0200 Subject: [PATCH] Allow Spaces in `projectDir` (#21) * try to fix the space issue * change project dir * spaced preset name --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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:-""}