diff --git a/.github/workflows/nightly-release.yml b/.github/workflows/nightly-release.yml index 2cb2cb6..76e8457 100644 --- a/.github/workflows/nightly-release.yml +++ b/.github/workflows/nightly-release.yml @@ -21,12 +21,12 @@ jobs: - name: Fetch all history for all tags and branches run: git fetch --prune --unshallow - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v2.0.1 + uses: gittools/actions/gitversion/setup@v3.0.0 with: versionSpec: '5.x' - name: Use GitVersion id: gitversion # step id used as reference for output values - uses: gittools/actions/gitversion/execute@v2.0.1 + uses: gittools/actions/gitversion/execute@v3.0.0 - run: | echo "MajorMinorPatch: ${{ steps.gitversion.outputs.MajorMinorPatch }}" echo "NuGetVersionV2: ${{ steps.gitversion.outputs.nuGetVersionV2 }}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1693336..ef9d3ed 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,12 +23,12 @@ jobs: - name: Fetch all history for all tags and branches run: git fetch --prune --unshallow - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v2.0.1 + uses: gittools/actions/gitversion/setup@v3.0.0 with: versionSpec: '5.x' - name: Use GitVersion id: gitversion # step id used as reference for output values - uses: gittools/actions/gitversion/execute@v2.0.1 + uses: gittools/actions/gitversion/execute@v3.0.0 - run: | echo "NuGetVersionV2: ${{ steps.gitversion.outputs.nuGetVersionV2 }}" echo "NuGetPreReleaseTagV2 (not used): ${{ steps.gitversion.outputs.CommitsSinceVersionSourcePadded }}"