Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit 82cee42

Browse files
Use NuGet package to set build number
1 parent 066fe36 commit 82cee42

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ jobs:
2929
with:
3030
fetch-depth: 0
3131

32-
- name: Setup Nerdbank.GitVersioning
33-
run: dotnet tool install --tool-path . nbgv
34-
35-
- name: Set build number
36-
run: ./nbgv cloud -p src
37-
3832
- name: Cache NuGet packages
3933
uses: actions/cache@v1
4034
with:

src/version.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"cloudBuild": {
1111
"buildNumber": {
1212
"enabled": true
13-
}
13+
},
14+
"setVersionVariables": true
1415
},
1516
"release": {
1617
"branchName": "release/{version}"

0 commit comments

Comments
 (0)