diff --git a/.github/workflows/nightly-release.yml b/.github/workflows/nightly-release.yml index 635fbe7..5edb2c4 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@v1.1.1 + uses: gittools/actions/gitversion/setup@v1.2.0 with: versionSpec: '5.x' - name: Use GitVersion id: gitversion # step id used as reference for output values - uses: gittools/actions/gitversion/execute@v1.1.1 + uses: gittools/actions/gitversion/execute@v1.2.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 db57ced..24c3c29 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,12 +20,12 @@ jobs: - name: Fetch all history for all tags and branches run: git fetch --prune --unshallow - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v1.1.1 + uses: gittools/actions/gitversion/setup@v1.2.0 with: versionSpec: '5.x' - name: Use GitVersion id: gitversion # step id used as reference for output values - uses: gittools/actions/gitversion/execute@v1.1.1 + uses: gittools/actions/gitversion/execute@v1.2.0 - run: | echo "NuGetVersionV2: ${{ steps.gitversion.outputs.nuGetVersionV2 }}" echo "NuGetPreReleaseTagV2 (not used): ${{ steps.gitversion.outputs.CommitsSinceVersionSourcePadded }}"