Skip to content

Commit

Permalink
Allow Spaces in projectDir (#21)
Browse files Browse the repository at this point in the history
* try to fix the space issue

* change project dir

* spaced preset name
  • Loading branch information
stonedDiscord committed May 6, 2023
1 parent 7727f04 commit 7773d38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:-""}
Expand Down

0 comments on commit 7773d38

Please sign in to comment.