Skip to content

Commit ad9095b

Browse files
authored
fix(ci): clean GitVersion cache and add version logging (#45)
1 parent f9c8e98 commit ad9095b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,17 @@ jobs:
117117
- name: Fetch tags
118118
run: git fetch --prune --tags
119119

120+
- name: Clean GitVersion cache
121+
run: rm -rf .git/gitversion_cache || true
122+
120123
- name: Install GitVersion
121124
uses: gittools/actions/gitversion/setup@v4
122125
with:
123126
versionSpec: '6.x'
124127

128+
- name: Display GitVersion version
129+
run: dotnet-gitversion /version
130+
125131
- name: Run GitVersion
126132
id: gitversion
127133
uses: gittools/actions/gitversion/execute@v4

0 commit comments

Comments
 (0)