updated yml file and fixed pipeline failure

This commit is contained in:
Zhipeng Wang 2020-11-23 16:02:16 +08:00
Родитель 3d387bc049
Коммит 9ce4ed3e83
2 изменённых файлов: 11 добавлений и 8 удалений

Просмотреть файл

@ -53,10 +53,8 @@ steps:
- powershell: 'gci env:* | sort-object name | Format-Table -AutoSize -Wrap'
displayName: 'Display env vars'
- task: NuGetToolInstaller@0
displayName: 'Use NuGet 4.9.1'
inputs:
versionSpec: 4.9.1
- task: NuGetToolInstaller@1
displayName: 'Use NuGet'
- task: NuGetCommand@2
displayName: 'NuGet restore'

Просмотреть файл

@ -8,16 +8,21 @@ steps:
tags: 'Version=$(ReleasePackageVersion)'
continueOnError: true
- task: NuGetToolInstaller@0
displayName: 'Use NuGet 4.9.1'
inputs:
versionSpec: 4.9.1
- task: NuGetToolInstaller@1
displayName: 'Use NuGet'
- task: NuGetCommand@2
displayName: 'NuGet restore'
inputs:
restoreSolution: '$(Parameters.solution)'
- task: DotNetCoreCLI@2
displayName: 'DotNet restore'
inputs:
command: restore
projects: |
libraries/csharp_dotnetcore/csharp_dotnetcore.sln
- task: VSBuild@1
displayName: 'Build solution libraries/csharp_dotnetcore/csharp_dotnetcore.sln'
inputs: