From 38ecefd9fed40c187fd49ec469c6fe40d6c55c4f Mon Sep 17 00:00:00 2001 From: AdmiringWorm Date: Sat, 4 May 2024 17:34:58 +0200 Subject: [PATCH] (maint) Update GitVersion and GRM versions --- .github/workflows/build.yml | 3 +-- .github/workflows/pre-release-notes.yml | 2 +- .github/workflows/release-notes.yml | 2 +- setup.cake | 5 ++++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 52bca83..ee44663 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,9 +52,8 @@ jobs: # version used for GitReleaseManager needs .NET Core 3.0 dotnet-version: | 2.1.x - 3.0.x - 3.1.x 5.0.x + 6.0.x - name: Build Addin uses: cake-build/cake-action@v2 with: diff --git a/.github/workflows/pre-release-notes.yml b/.github/workflows/pre-release-notes.yml index 02ae8a9..31c16c2 100644 --- a/.github/workflows/pre-release-notes.yml +++ b/.github/workflows/pre-release-notes.yml @@ -26,8 +26,8 @@ jobs: # version used for GitReleaseManager needs .NET Core 3.0 dotnet-version: | 2.1.x - 3.0.x 5.0.x + 6.0.x - name: Set up git version if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} uses: gittools/actions/gitversion/setup@v1.1.1 diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index d22ff05..3466207 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -26,8 +26,8 @@ jobs: # version used for GitReleaseManager needs .NET Core 3.0 dotnet-version: | 2.1.x - 3.0.x 5.0.x + 6.0.x - name: Set up git version if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} uses: gittools/actions/gitversion/setup@v1.1.1 diff --git a/setup.cake b/setup.cake index 5e86d94..d87c4e0 100644 --- a/setup.cake +++ b/setup.cake @@ -28,7 +28,10 @@ BuildParameters.PrintParameters(Context); ToolSettings.SetToolSettings( context: Context, testCoverageFilter: "+[Cake.Codecov]*"); -ToolSettings.SetToolPreprocessorDirectives(codecovTool: "#tool nuget:?package=CodecovUploader&version=0.7.3"); +ToolSettings.SetToolPreprocessorDirectives( + codecovTool: "#tool nuget:?package=CodecovUploader&version=0.7.3", + gitVersionGlobalTool: "#tool dotnet:?package=GitVersion.Tool&version=5.12.0", + gitReleaseManagerGlobalTool: "#tool dotnet:?package=GitReleaseManager.Tool&version=0.17.0"); // Tasks we want to override ((CakeTask)BuildParameters.Tasks.UploadCodecovReportTask.Task).Actions.Clear();