Skip to content

Commit

Permalink
Merge branch 'hotfix/0.26.5'
Browse files Browse the repository at this point in the history
* hotfix/0.26.5:
  (#144) Ensure artifact upload is the last action
  • Loading branch information
gep13 committed Apr 16, 2024
2 parents 22a78ba + 99f0ad5 commit 9745f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Chocolatey.Cake.Recipe/Content/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ BuildParameters.Tasks.BuildTask = Task("Build")
XBuild(BuildParameters.SolutionFilePath, xbuildSettings);
}

CopyBuildOutput();

if (FileExists(BuildParameters.Paths.Files.BuildLogFilePath))
{
BuildParameters.BuildProvider.UploadArtifact(BuildParameters.Paths.Files.BuildLogFilePath);
}

CopyBuildOutput();
}));

BuildParameters.Tasks.DotNetBuildTask = Task("DotNetBuild")
Expand Down

0 comments on commit 9745f43

Please sign in to comment.