Skip to content

Commit b7720ad

Browse files
committed
Update azure-pipeline - Search.Algolia.yml for Azure Pipelines
1 parent 16a7bde commit b7720ad

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

azure-pipeline - Search.Algolia.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,19 @@ steps:
1414
- task: NuGetToolInstaller@1
1515
displayName: 'Install NuGet'
1616

17-
- task: NuGetCommand@2
17+
- task: DotNetCoreCLI@2
1818
displayName: 'NuGet Restore'
1919
inputs:
20-
restoreSolution: '$(solution)'
20+
command: 'restore'
21+
feedsToUse: 'select'
22+
projects: '$(project)'
23+
includeNuGetOrg: true
2124

2225
- task: VSBuild@1
26+
displayName: 'Build Project'
2327
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"'
28+
solution: '$(project)'
29+
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactStagingDirectory)"'
2630
platform: '$(buildPlatform)'
2731
configuration: '$(buildConfiguration)'
2832

0 commit comments

Comments
 (0)