Skip to content

Commit

Permalink
(build) FIx build running locally
Browse files Browse the repository at this point in the history
Make use of the official package for GitVersion. I don't remember why
one from a MyGet feed was being used.  Also, there was a build failure
regarding passing of the InProcessClient for NuGet, so opted to remove
this from the config file, since this is the default value.

I suspect that the build will still fail on GitHub Actions, but taking
it for a spin.
  • Loading branch information
gep13 committed Jul 6, 2023
1 parent f6ca1f2 commit ef1be2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion cake.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

[Nuget]
Source=https://api.nuget.org/v3/index.json
UseInProcessClient=true

[Paths]
Tools=./tools
Expand Down
2 changes: 2 additions & 0 deletions recipe.cake
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ ToolSettings.SetToolSettings(context: Context,
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");

ToolSettings.SetToolPreprocessorDirectives(gitVersionGlobalTool: "#tool dotnet:?package=GitVersion.Tool&version=5.6.6");

Build.RunDotNetCore();

0 comments on commit ef1be2e

Please sign in to comment.