b130f8f444
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.CMake.Sdk From Version 6.0.0-beta.24113.1 -> To Version 6.0.0-beta.24162.4
23 lines
743 B
YAML
23 lines
743 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: 1ES.PublishBuildArtifacts@1
|
|
displayName: Publish Logs
|
|
inputs:
|
|
PathtoPublish: '$(Build.SourcesDirectory)/PostBuildLogs'
|
|
PublishLocation: Container
|
|
ArtifactName: PostBuildLogs
|
|
continueOnError: true
|
|
condition: always()
|