Allow Spaces in projectDir (#21)

* try to fix the space issue

* change project dir

* spaced preset name
This commit is contained in:
stonedDiscord 2023-05-06 23:35:27 +02:00 committed by GitHub
parent 7727f04a91
commit 7773d38d12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,8 +19,8 @@ fi
# Export for project # Export for project
echo "Building $1 for $2" echo "Building $1 for $2"
mkdir -p $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""} mkdir -p $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""}
cd ${5-"$GITHUB_WORKSPACE"} cd "$GITHUB_WORKSPACE/$5"
godot --${mode} $2 $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""}$1 godot --${mode} "$2" $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""}$1
echo "Build Done" echo "Build Done"
echo ::set-output name=build::build/${SubDirectoryLocation:-""} echo ::set-output name=build::build/${SubDirectoryLocation:-""}