Skip to content

Commit 8ade4e5

Browse files
committed
ci(pipeline): update environment variable references
- Replaces `env.GitVersion_*` with `env.gitVersion_*` in the build command for consistency. - Ensures correct versioning information is utilized during the build process.
1 parent 5b1c743 commit 8ade4e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pipeline.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
run: dotnet restore
146146

147147
- name: dotnet build
148-
run: dotnet build --no-restore --configuration Release /p:Version=${{env.GitVersion_SemVer}} /p:AssemblyVersion=${{env.GitVersion_AssemblySemFileVer}} /p:NuGetVersion=${{env.GitVersion_SemVer}}
148+
run: dotnet build --no-restore --configuration Release /p:Version=${{ env.gitVersion_SemVer }} /p:AssemblyVersion=${{env.gitVersion_AssemblySemFileVer}} /p:NuGetVersion=${{env.gitVersion_SemVer}}
149149

150150
- name: dotnet test
151151
run: dotnet test --no-build --configuration Release --verbosity normal

0 commit comments

Comments
 (0)