61537a6f99
[master] Update dependencies from dotnet/arcade - Updates: - Microsoft.DotNet.Build.Tasks.Installers: from 5.0.0-beta.20451.5 to 5.0.0-beta.20452.19 - Microsoft.DotNet.Arcade.Sdk: from 5.0.0-beta.20451.5 to 5.0.0-beta.20452.19
23 lines
739 B
YAML
23 lines
739 B
YAML
parameters:
|
|
StageLabel: ''
|
|
JobLabel: ''
|
|
|
|
steps:
|
|
- task: Powershell@2
|
|
displayName: Prepare Binlogs to Upload
|
|
inputs:
|
|
targetType: inline
|
|
script: |
|
|
New-Item -ItemType Directory $(Build.SourcesDirectory)/PostBuildLogs/${{parameters.StageLabel}}/${{parameters.JobLabel}}/
|
|
Move-Item -Path $(Build.SourcesDirectory)/artifacts/log/Debug/* $(Build.SourcesDirectory)/PostBuildLogs/${{parameters.StageLabel}}/${{parameters.JobLabel}}/
|
|
continueOnError: true
|
|
condition: always()
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
displayName: Publish Logs
|
|
inputs:
|
|
PathtoPublish: '$(Build.SourcesDirectory)/PostBuildLogs'
|
|
PublishLocation: Container
|
|
ArtifactName: PostBuildLogs
|
|
continueOnError: true
|
|
condition: always()
|