From 81f28d3849b67e88b0d190dd6b698fb01e0f5652 Mon Sep 17 00:00:00 2001 From: Catherine Lawlor <55924986+CathLass@users.noreply.github.com> Date: Tue, 6 Aug 2024 11:17:05 +0100 Subject: [PATCH] Update publish-nuget.yml --- .github/workflows/publish-nuget.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 438b3da..3310db4 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -18,8 +18,11 @@ jobs: with: dotnet-version: 8.0.x - name: Install GitVersion - uses: gittools/actions/gitversion/execute@v0.9.14 - id: gitversion + uses: gittools/actions/gitversion/setup@v3.0.0 + with: + versionSpec: '6.x' + - name: Determine Version + uses: gittools/actions/gitversion/execute@v3.0.0 - name: Set version run: echo "##vso[build.updatebuildnumber]${{ steps.gitversion.outputs.SemVer }}" - name: Restore dependencies