Skip to content

Commit 836b635

Browse files
authored
Revert "Bump gittools/actions from 3 to 4 (#1950)" (#1991)
Updated GitVersion still has error from GitTools/GitVersion#3351 (comment)
1 parent 2033c21 commit 836b635

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/package.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,13 @@ jobs:
3636
- name: Install .NET Core from global.json
3737
uses: actions/setup-dotnet@v5
3838
- name: Install GitVersion
39-
uses: gittools/actions/gitversion/setup@v4
39+
uses: gittools/actions/gitversion/setup@v3
40+
with:
41+
# v5.10.0 of GitVersion has a fix for incorrect versions when building tags. See https://github.com/GitTools/GitVersion/issues/2838
42+
# It appears that the fix then had a regression in a later version, so locking in 5.10.0. See https://github.com/GitTools/GitVersion/issues/3351#issuecomment-1403657689
43+
versionSpec: '5.10.0'
4044
- name: Determine Version
41-
uses: gittools/actions/gitversion/execute@v4
45+
uses: gittools/actions/gitversion/execute@v3
4246
with:
4347
useConfigFile: true
4448
- name: Display GitVersion variables (with prefix)

0 commit comments

Comments
 (0)