File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
trigger :
2
2
- master
3
3
4
- pool :
5
- vmImage : ' macOS-latest'
6
-
7
4
variables :
8
5
buildConfiguration : ' Release'
9
6
10
7
stages :
11
8
- stage : test
12
9
10
+ pool :
11
+ vmImage : ' macOS-latest'
12
+
13
13
jobs :
14
14
- job : sonar
15
15
displayName : Analyze code with SonarQube
@@ -165,6 +165,10 @@ stages:
165
165
166
166
- stage : deploy
167
167
condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
168
+
169
+ pool :
170
+ vmImage : ' windows-latest'
171
+
168
172
jobs :
169
173
- job : release
170
174
displayName : ' Create tag on GitHub and publish NuGet package'
@@ -203,7 +207,7 @@ stages:
203
207
changeLogCompareToRelease : ' lastFullRelease'
204
208
changeLogType : ' commitBased'
205
209
206
- - task : DotNetCoreCLI @2
210
+ - task : NuGetCommand @2
207
211
displayName : ' Push NuGet package'
208
212
inputs :
209
213
command : ' push'
You can’t perform that action at this time.
0 commit comments