From aaa2788b9c8323246b8a34f023971839cf268e52 Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Fri, 4 Oct 2024 23:17:46 +0200 Subject: [PATCH] Update CI to use Cake.Recipe 3.x (#80) this PR supersedes #58 --- .config/dotnet-tools.json | 2 +- recipe.cake | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 5fe5659..a3ec803 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "0.38.5", + "version": "1.3.0", "commands": [ "dotnet-cake" ] diff --git a/recipe.cake b/recipe.cake index 5814a5b..7fbe761 100644 --- a/recipe.cake +++ b/recipe.cake @@ -1,4 +1,4 @@ -#load nuget:?package=Cake.Recipe&version=2.2.1 +#load nuget:?package=Cake.Recipe&version=3.0.1 Environment.SetVariableNames(); @@ -18,13 +18,7 @@ BuildParameters.SetParameters( BuildParameters.PrintParameters(Context); -ToolSettings.SetToolSettings(context: Context, - dupFinderExcludePattern: new string[] { - BuildParameters.RootDirectoryPath + "/**/Cake.SPCAF.Tests/**/*.cs", - BuildParameters.RootDirectoryPath + "/**/Cake.SPCAF/**/*.AssemblyInfo.cs", - BuildParameters.RootDirectoryPath + "/**/Cake.SPCAF/SPCAFSettings.cs" - } -); +ToolSettings.SetToolSettings(context: Context); Build.RunDotNetCore();