diff --git a/action/steps/build.sh b/action/steps/build.sh old mode 100644 new mode 100755 index 833aa88e..1c3bb57a --- a/action/steps/build.sh +++ b/action/steps/build.sh @@ -48,7 +48,7 @@ if [ -z "$BUILD_METHOD" ]; then # Create Editor directory if it does not exist mkdir -p "$UNITY_PROJECT_PATH/Assets/Editor/" # Copy the build script of Unity Builder action - cp -r "/UnityBuilderAction/Assets/Editor" "$UNITY_PROJECT_PATH/Assets/Editor/" + cp -R "/UnityBuilderAction/Assets/Editor/" "$UNITY_PROJECT_PATH/Assets/Editor/" # Set the Build method to that of UnityBuilder Action BUILD_METHOD="UnityBuilderAction.Builder.BuildProject" # Verify recursive paths