From 7be796f77bd86750c30795c102aa45787461b48c Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Thu, 25 Apr 2024 00:34:38 +0900 Subject: [PATCH] upgrade: dependency * nuke 6.2.1 -> 8.0.0 --- nuke/Build.cs | 4 ++-- nuke/_build.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nuke/Build.cs b/nuke/Build.cs index 87b753d..0b39025 100644 --- a/nuke/Build.cs +++ b/nuke/Build.cs @@ -109,7 +109,7 @@ class Build : NukeBuild .Before(Restore) .Executes(() => { - SourceDirectory.GlobDirectories("**/bin", "**/obj").ForEach(DeleteDirectory); + SourceDirectory.GlobDirectories("**/bin", "**/obj").ForEach(dir => dir.DeleteDirectory()); }); Target Restore => _ => _ @@ -244,7 +244,7 @@ class Build : NukeBuild throw new BuildAbortedException("Could not resolve the NuGet API key."); } - foreach (var nupkg in GlobFiles(ResultDirectory, "*.nupkg")) + foreach (var nupkg in ResultDirectory.GlobFiles("*.nupkg")) { DotNetNuGetPush(s => s .SetTargetPath(nupkg) diff --git a/nuke/_build.csproj b/nuke/_build.csproj index 4868d0d..a71fa1b 100644 --- a/nuke/_build.csproj +++ b/nuke/_build.csproj @@ -11,7 +11,7 @@ - +