From b964fbbf1780b49469a28b6635812958d44a75ab Mon Sep 17 00:00:00 2001 From: Nils Andresen Date: Wed, 24 Jul 2024 00:03:49 +0200 Subject: [PATCH] (#22) Bump Cake.Recipe to 3.1.1 --- .config/dotnet-tools.json | 2 +- .github/workflows/build.yml | 1 - .github/workflows/release-notes.yml | 1 - build.ps1 | 5 ----- build.sh | 1 - recipe.cake | 3 ++- 6 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 3346c1c..dd9d785 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/.github/workflows/build.yml b/.github/workflows/build.yml index a9aafb2..38a7c03 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,7 +75,6 @@ jobs: target: CI verbosity: Normal cake-version: tool-manifest - cake-bootstrap: explicit - name: Upload Issues-Report uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4 diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 9cafc89..6b368c2 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -44,4 +44,3 @@ jobs: target: releasenotes verbosity: Normal cake-version: tool-manifest - cake-bootstrap: true diff --git a/build.ps1 b/build.ps1 index 210aea2..35df8f8 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,5 +1,3 @@ -$ErrorActionPreference = 'Stop' - Set-Location -LiteralPath $PSScriptRoot $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = '1' @@ -9,8 +7,5 @@ $env:DOTNET_NOLOGO = '1' dotnet tool restore if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } -dotnet cake recipe.cake --bootstrap -if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } - dotnet cake recipe.cake @args if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } diff --git a/build.sh b/build.sh index 9728521..9863e90 100755 --- a/build.sh +++ b/build.sh @@ -9,5 +9,4 @@ export DOTNET_NOLOGO=1 dotnet tool restore -dotnet cake recipe.cake --bootstrap dotnet cake recipe.cake "$@" diff --git a/recipe.cake b/recipe.cake index cf52115..44aed03 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.1.1 Environment.SetVariableNames(); @@ -24,3 +24,4 @@ ToolSettings.SetToolSettings(context: Context, testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs"); Build.RunDotNetCore(); +