File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ trigger :
2
+ - feature/algolia-integration
3
+
4
+ pool :
5
+ vmImage : ' windows-latest'
6
+
7
+ variables :
8
+ projectName : ' Umbraco.Cms.Integrations.Search.Algolia'
9
+ project : ' src/$(projectName)/$(projectName).csproj'
10
+ buildPlatform : ' Any CPU'
11
+ buildConfiguration : ' Release'
12
+
13
+ steps :
14
+ - task : NuGetToolInstaller@1
15
+ displayName : ' Install NuGet'
16
+
17
+ - task : NuGetCommand@2
18
+ displayName : ' NuGet Restore'
19
+ inputs :
20
+ restoreSolution : ' $(solution)'
21
+
22
+ - task : VSBuild@1
23
+ inputs :
24
+ solution : ' $(solution)'
25
+ msbuildArgs : ' /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site"'
26
+ platform : ' $(buildPlatform)'
27
+ configuration : ' $(buildConfiguration)'
28
+
29
+ - task : DotNetCoreCLI@2
30
+ displayName : ' Create NuGet Package'
31
+ inputs :
32
+ command : ' pack'
33
+ arguments : ' --configuration $(buildConfiguration)'
34
+ packagesToPack : ' $(project)'
35
+ versioningScheme : ' off'
36
+
37
+ - task : PublishBuildArtifacts@1
38
+ displayName : ' Publish Build Artifacts'
39
+ inputs :
40
+ PathtoPublish : ' $(Build.ArtifactStagingDirectory)'
41
+ ArtifactName : ' drop'
42
+ publishLocation : ' Container'
You can’t perform that action at this time.
0 commit comments