Update azure-pipelines-samples.yml for Azure Pipelines

This commit is contained in:
Numfor Tiapo 2021-11-02 11:46:31 -07:00
Родитель 677e96f583
Коммит 1bd7e9344f
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -116,7 +116,7 @@ steps:
configuration: '$(BuildConfiguration)'
msbuildArchitecture: x64
createLogFile: true
condition: and(succeededOrFailed(), eq($(BuildConfiguration), 'Release'))
condition: and(succeededOrFailed(), eq(variables['BuildConfiguration'], 'Release'))
- task: VSBuild@1
displayName: 'Build And Publish WinMLSamplesGallery Release'
@ -128,7 +128,7 @@ steps:
configuration: '$(BuildConfiguration)'
msbuildArchitecture: x64
createLogFile: true
condition: and(succeededOrFailed(), eq($(BuildConfiguration), 'Debug'))
condition: and(succeededOrFailed(), eq(variables['BuildConfiguration'], 'Debug'))
# TODO: Add previously failing build tasks
@ -156,7 +156,7 @@ steps:
targetFolder: '$(Build.ArtifactStagingDirectory)\$(BuildPlatform)\$(BuildConfiguration)\AppPackages'
sourceFolder: 'Samples/WinMLSamplesGallery/WinMLSamplesGallery (Package)/AppPackages'
contents: '**\*'
condition: and(succeededOrFailed(), eq($(BuildConfiguration), 'Release'))
condition: and(succeededOrFailed(), eq(variables['BuildConfiguration'], 'Release'))
- task: CopyFiles@2
inputs: