Skip to content

Commit 7c05159

Browse files
committed
Update build.yml
1 parent 3c0485c commit 7c05159

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ concurrency:
2323

2424
jobs:
2525
build:
26+
# Nerdbank.GitVersioning appends Git*Version lines to $GITHUB_ENV once per project. With parallel
27+
# MSBuild (-m) the worker processes race on that file and tear lines, which the runner then rejects
28+
# with "Invalid format '1.0.0'" at the end of the step. Nothing here consumes those variables.
29+
env:
30+
NBGV_SetCloudBuildVersionVars: false
31+
2632
permissions:
2733
id-token: write # required for NuGet trusted publishing (OIDC)
2834
contents: read

0 commit comments

Comments
 (0)