Update azure-pipelines-samples.yml for Azure Pipelines
This commit is contained in:
Родитель
677e96f583
Коммит
1bd7e9344f
|
@ -116,7 +116,7 @@ steps:
|
||||||
configuration: '$(BuildConfiguration)'
|
configuration: '$(BuildConfiguration)'
|
||||||
msbuildArchitecture: x64
|
msbuildArchitecture: x64
|
||||||
createLogFile: true
|
createLogFile: true
|
||||||
condition: and(succeededOrFailed(), eq($(BuildConfiguration), 'Release'))
|
condition: and(succeededOrFailed(), eq(variables['BuildConfiguration'], 'Release'))
|
||||||
|
|
||||||
- task: VSBuild@1
|
- task: VSBuild@1
|
||||||
displayName: 'Build And Publish WinMLSamplesGallery Release'
|
displayName: 'Build And Publish WinMLSamplesGallery Release'
|
||||||
|
@ -128,7 +128,7 @@ steps:
|
||||||
configuration: '$(BuildConfiguration)'
|
configuration: '$(BuildConfiguration)'
|
||||||
msbuildArchitecture: x64
|
msbuildArchitecture: x64
|
||||||
createLogFile: true
|
createLogFile: true
|
||||||
condition: and(succeededOrFailed(), eq($(BuildConfiguration), 'Debug'))
|
condition: and(succeededOrFailed(), eq(variables['BuildConfiguration'], 'Debug'))
|
||||||
|
|
||||||
# TODO: Add previously failing build tasks
|
# TODO: Add previously failing build tasks
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ steps:
|
||||||
targetFolder: '$(Build.ArtifactStagingDirectory)\$(BuildPlatform)\$(BuildConfiguration)\AppPackages'
|
targetFolder: '$(Build.ArtifactStagingDirectory)\$(BuildPlatform)\$(BuildConfiguration)\AppPackages'
|
||||||
sourceFolder: 'Samples/WinMLSamplesGallery/WinMLSamplesGallery (Package)/AppPackages'
|
sourceFolder: 'Samples/WinMLSamplesGallery/WinMLSamplesGallery (Package)/AppPackages'
|
||||||
contents: '**\*'
|
contents: '**\*'
|
||||||
condition: and(succeededOrFailed(), eq($(BuildConfiguration), 'Release'))
|
condition: and(succeededOrFailed(), eq(variables['BuildConfiguration'], 'Release'))
|
||||||
|
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
inputs:
|
inputs:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче