From 3db548048e46f3343c90fa005e99b7e61cd1ea6e Mon Sep 17 00:00:00 2001 From: Pavel Kuznetsov Date: Sat, 7 Nov 2026 10:49:02 +0200 Subject: [PATCH] ci: pin centralized GitVersion calculation (canary) --- .github/workflows/gitversion.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/gitversion.yml b/.github/workflows/gitversion.yml index a081b63..7daf4e8 100644 --- a/.github/workflows/gitversion.yml +++ b/.github/workflows/gitversion.yml @@ -19,13 +19,7 @@ jobs: with: fetch-depth: 0 persist-credentials: false - - name: Install GitVersion - run: dotnet tool install GitVersion.Tool --tool-path "$RUNNER_TEMP/gitversion" --version 6.8.2 - - name: Calculate and validate version - shell: bash - run: | - set -euo pipefail - version="$("$RUNNER_TEMP/gitversion/dotnet-gitversion" /showvariable SemVer)" - test -n "$version" - echo "Calculated GitVersion SemVer: $version" - echo "### GitVersion: $version" >> "$GITHUB_STEP_SUMMARY" + - name: Calculate and validate version (shared platform) + uses: 4FusionLab/.github/.github/actions/resolve-version@ad9d60ba4aabc494b4f2c85d6c566a50ca423751 + with: + variable: SemVer