Skip to content

Commit e06a9ef

Browse files
authored
Remove gitversion validation in Copilot workflow (#2120)
1 parent 8ae18cf commit e06a9ef

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@ jobs:
7171
# Install GitVersion for semantic versioning
7272
dotnet tool install --global GitVersion.Tool --version 5.*
7373
74-
# Verify installation
75-
dotnet-gitversion
74+
# # Verify installation
75+
# dotnet-gitversion
7676
7777
Write-Host ".NET tools installation complete." -ForegroundColor Green
7878
79-
- name: Verify GitVersion
80-
shell: pwsh
81-
run: |
82-
Write-Host "Running GitVersion to determine semantic version..." -ForegroundColor Green
83-
dotnet-gitversion | ConvertFrom-Json
79+
# - name: Verify GitVersion
80+
# shell: pwsh
81+
# run: |
82+
# Write-Host "Running GitVersion to determine semantic version..." -ForegroundColor Green
83+
# dotnet-gitversion | ConvertFrom-Json
8484

8585
- name: Resolve Dependencies
8686
shell: pwsh

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- Added setup workflow for GitHub Copilot.
1111
- Switch the workflow to use Linux.
12+
- Skip verify gitversion after install due to problem with how Copilot switches branch directly after checkout, before setup is finsihed.
1213

1314
### Changed
1415

0 commit comments

Comments
 (0)