diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 911998b..0037d90 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 6e2b3f7..2b22ff6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,8 +72,7 @@ jobs: script-path: recipe.cake target: CI verbosity: Normal - cake-version: 0.38.5 - cake-bootstrap: true + cake-version: tool-manifest - name: Upload Issues-Report uses: actions/upload-artifact@v4 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d5327b6..d9d38dd 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -67,8 +67,7 @@ jobs: script-path: recipe.cake target: DotNetCore-Build verbosity: Normal - cake-version: 0.38.5 - cake-bootstrap: true + cake-version: tool-manifest - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 \ No newline at end of file diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index 86cd25f..b6e9e8e 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -32,5 +32,4 @@ jobs: script-path: recipe.cake target: Force-Publish-Documentation verbosity: Diagnostic - cake-version: 0.38.5 - cake-bootstrap: true \ No newline at end of file + cake-version: tool-manifest \ No newline at end of file diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 512e4c3..83a7050 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -43,5 +43,4 @@ jobs: script-path: recipe.cake target: releasenotes verbosity: Diagnostic - cake-version: 0.38.5 - cake-bootstrap: true + cake-version: tool-manifest diff --git a/build.ps1 b/build.ps1 index ef620a4..97c9a3d 100644 --- a/build.ps1 +++ b/build.ps1 @@ -4,10 +4,6 @@ Write-Host "Restoring .NET Core tools" dotnet tool restore if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } -Write-Host "Bootstrapping Cake" -dotnet cake $SCRIPT_NAME --bootstrap -if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } - Write-Host "Running Build" dotnet cake $SCRIPT_NAME @args if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } \ No newline at end of file diff --git a/build.sh b/build.sh index ba5d0c9..9ed86f0 100755 --- a/build.sh +++ b/build.sh @@ -4,8 +4,5 @@ SCRIPT_NAME="recipe.cake" echo "Restoring .NET Core tools" dotnet tool restore -echo "Bootstrapping Cake" -dotnet cake $SCRIPT_NAME --bootstrap - echo "Running Build" dotnet cake $SCRIPT_NAME "$@" \ No newline at end of file diff --git a/recipe.cake b/recipe.cake index 69cea76..80a65d6 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();