Merge pull request #2487 from Haselnussbomber/update-nuke

[API14] Update Nuke
This commit is contained in:
goat 2025-12-05 18:14:22 +01:00 committed by GitHub
commit 411067219e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View file

@ -1,6 +1,5 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO;
using Nuke.Common; using Nuke.Common;
using Nuke.Common.Execution; using Nuke.Common.Execution;
using Nuke.Common.Git; using Nuke.Common.Git;
@ -128,7 +127,7 @@ public class DalamudBuild : NukeBuild
if (IsCIBuild) if (IsCIBuild)
{ {
s = s s = s
.SetProcessArgumentConfigurator(a => a.Add("/clp:NoSummary")); // Disable MSBuild summary on CI builds .SetProcessAdditionalArguments("/clp:NoSummary"); // Disable MSBuild summary on CI builds
} }
// We need to emit compiler generated files for the docs build, since docfx can't run generators directly // We need to emit compiler generated files for the docs build, since docfx can't run generators directly
// TODO: This fails every build after this because of redefinitions... // TODO: This fails every build after this because of redefinitions...
@ -238,7 +237,6 @@ public class DalamudBuild : NukeBuild
.SetProject(InjectorProjectFile) .SetProject(InjectorProjectFile)
.SetConfiguration(Configuration)); .SetConfiguration(Configuration));
FileSystemTasks.DeleteDirectory(ArtifactsDirectory); ArtifactsDirectory.CreateOrCleanDirectory();
Directory.CreateDirectory(ArtifactsDirectory);
}); });
} }

View file

@ -11,7 +11,7 @@
<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally> <ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Nuke.Common" Version="6.2.1" /> <PackageReference Include="Nuke.Common" Version="10.1.0" />
<PackageReference Include="System.Runtime.Serialization.Formatters" Version="10.0.0" /> <PackageReference Include="System.Runtime.Serialization.Formatters" Version="10.0.0" />
<PackageReference Remove="Microsoft.CodeAnalysis.BannedApiAnalyzers" /> <PackageReference Remove="Microsoft.CodeAnalysis.BannedApiAnalyzers" />
</ItemGroup> </ItemGroup>