File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ trigger :
2
+ - main
3
+
4
+ pool :
5
+ vmImage : ' windows-latest'
6
+
7
+ variables :
8
+ projectName : ' Umbraco.Forms.Integrations.Crm.Hubspot.OAuthProxy'
9
+ solution : ' **/*.sln'
10
+ project : ' src/$(projectName)/$(projectName).csproj'
11
+ buildPlatform : ' Any CPU'
12
+ buildConfiguration : ' Release'
13
+
14
+ steps :
15
+ - task : NuGetToolInstaller@1
16
+ displayName : ' Install NuGet'
17
+
18
+ - task : NuGetCommand@2
19
+ displayName : ' NuGet Restore'
20
+ inputs :
21
+ restoreSolution : ' $(solution)'
22
+
23
+ - task : VSBuild@1
24
+ displayName : ' Build Project'
25
+ inputs :
26
+ solution : ' $(project)'
27
+ msbuildArgs : ' /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactStagingDirectory)"'
28
+ platform : ' $(buildPlatform)'
29
+ configuration : ' $(buildConfiguration)'
You can’t perform that action at this time.
0 commit comments