Skip to content

Commit

Permalink
Merge pull request #15 from KuraiAndras/develop
Browse files Browse the repository at this point in the history
fix push task not enumerating files
  • Loading branch information
KuraiAndras authored Mar 3, 2023
2 parents b94e4d7 + 2b85352 commit 6402617
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MediatR.Courier.Build/Nuget.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Nuke.Common;
using Nuke.Common.Tools.DotNet;
using Nuke.Common.Utilities.Collections;
using static Nuke.Common.Tools.DotNet.DotNetTasks;
using static System.IO.Directory;

Expand All @@ -14,7 +15,7 @@ sealed partial class Build
.Requires(() => NugetApiKey)
.Executes(() =>
EnumerateFiles(ArtifactsDirectory, "*.nupkg", SearchOption.AllDirectories)
.SelectMany(x =>
.ForEach(x =>
DotNetNuGetPush(s => s
.SetTargetPath(x)
.SetSource(NugetApiUrl)
Expand Down

0 comments on commit 6402617

Please sign in to comment.