Skip to content

Commit

Permalink
Upgrade to NUKE 9 (#1754)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma authored Nov 23, 2024
1 parent e907b20 commit 36bf0f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using Nuke.Common.ProjectModel;
using Nuke.Common.Tooling;
using Nuke.Common.Tools.DotNet;
using Nuke.Common.Utilities;
using Nuke.Common.Utilities.Collections;
using static Nuke.Common.Tools.DotNet.DotNetTasks;

Expand Down Expand Up @@ -128,18 +129,11 @@ protected override void OnBuildInitialized()
.DependsOn(Compile)
.Executes(() =>
{
var framework = "";
if (!IsRunningOnWindows)
{
framework = "net8.0";
}

DotNetTest(s => s
.SetProjectFile(Solution)
.SetConfiguration(Configuration)
.EnableNoRestore()
.EnableNoBuild()
.SetFramework(framework)
.When(GitHubActions.Instance is not null, x => x.SetLoggers("GitHubActions"))
);
});
Expand Down
2 changes: 1 addition & 1 deletion build/_build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nuke.Common" Version="8.1.4" />
<PackageReference Include="Nuke.Common" Version="9.0.1" />
<PackageReference Include="System.Formats.Asn1" Version="8.0.1" />
</ItemGroup>

Expand Down

0 comments on commit 36bf0f1

Please sign in to comment.