File tree Expand file tree Collapse file tree 3 files changed +19
-12
lines changed
Expand file tree Collapse file tree 3 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,15 @@ jobs:
2424 dotnet-version : 6.0.x
2525
2626 - name : Install GitVersion
27- run : dotnet tool install --global GitVersion.Tool
27+ uses : gittools/actions/gitversion/setup@v3.0.0
28+ with :
29+ versionSpec : ' 6.x'
2830
2931 - name : Determine Version
3032 id : gitversion
31- uses : gittools/actions/gitversion/execute@v0.10.2
33+ uses : gittools/actions/gitversion/execute@v3.0.0
3234 with :
33- useConfigFile : true
35+ useConfigFile : true
3436
3537 - name : Restore Packages
3638 run : dotnet restore "${{ env.solution-path }}"
@@ -79,13 +81,15 @@ jobs:
7981 dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner
8082
8183 - name : Install GitVersion
82- run : dotnet tool install --global GitVersion.Tool
84+ uses : gittools/actions/gitversion/setup@v3.0.0
85+ with :
86+ versionSpec : ' 6.x'
8387
8488 - name : Determine Version
8589 id : gitversion
86- uses : gittools/actions/gitversion/execute@v0.10.2
90+ uses : gittools/actions/gitversion/execute@v3.0.0
8791 with :
88- useConfigFile : true
92+ useConfigFile : true
8993
9094 - name : Build and analyze
9195 env :
Original file line number Diff line number Diff line change @@ -23,11 +23,13 @@ jobs:
2323 dotnet-version : 6.0.x
2424
2525 - name : Install GitVersion
26- run : dotnet tool install --global GitVersion.Tool
26+ uses : gittools/actions/gitversion/setup@v3.0.0
27+ with :
28+ versionSpec : ' 6.x'
2729
2830 - name : Determine Version
2931 id : gitversion
30- uses : gittools/actions/gitversion/execute@v0.10.2
32+ uses : gittools/actions/gitversion/execute@v3.0.0
3133 with :
3234 useConfigFile : true
3335
Original file line number Diff line number Diff line change @@ -3,15 +3,16 @@ next-version: 5.1.5
33branches :
44 develop :
55 regex : develop
6- tag : ' alpha'
6+ label : ' alpha'
77 increment : Patch
8+ prevent-increment :
9+ when-current-commit-tagged : true
810 source-branches : []
911 pull-request :
1012 regex : (pull|pull\-requests|pr)[/-]
11- tag : ' pr'
12- tag -number-pattern : ' [/-](?<number>\d+)[-/]'
13+ label : ' pr'
14+ label -number-pattern : ' [/-](?<number>\d+)[-/]'
1315 increment : Patch
14- prevent-increment-of-merged-branch-version : false
1516 is-release-branch : false
1617 source-branches : []
1718ignore :
You can’t perform that action at this time.
0 commit comments