From 056ef60111f089961d42b764861e1d027dc404e7 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 12 Sep 2023 15:50:33 -0400 Subject: [PATCH 1/2] Fixed an issue with long file names on CI This may fix the build issue in CI regarding long filenames, will have to see it run to confirm or not the fix. --- build/Build.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/build/Build.cs b/build/Build.cs index 73a29c8c7..b63f6cb28 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -107,6 +107,7 @@ class Build : NukeBuild { // Prevents a bug where git sends ok message to the error output sink GitLogger = (type, output) => Serilog.Log.Information(output); + Git($"config --system core.longpaths true"); Git($"clone https://github.com/dnnsoftware/Dnn.Platform.git {dnnPlatformDirectory}"); }); From 3bbb2e0e6bacdf2d1ea46faf822cf6d28f95fcac Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 12 Sep 2023 15:55:22 -0400 Subject: [PATCH 2/2] Attempting global instead of system --- build/Build.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Build.cs b/build/Build.cs index b63f6cb28..08e91d89d 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -107,7 +107,7 @@ class Build : NukeBuild { // Prevents a bug where git sends ok message to the error output sink GitLogger = (type, output) => Serilog.Log.Information(output); - Git($"config --system core.longpaths true"); + Git($"config --global core.longpaths true"); Git($"clone https://github.com/dnnsoftware/Dnn.Platform.git {dnnPlatformDirectory}"); });