Merge commit '5d81c4c47a769b3b03216668d77be59f441668fa'

This commit is contained in:
Mirroring 2024-07-15 18:51:27 +00:00
commit fbe885c7c0

View file

@ -100,7 +100,7 @@ jobs:
- output: pipelineArtifact
displayName: 'Publish Artifacts'
condition: succeededOrFailed()
targetPath: '${{ variables.sourcesPath }}/artifacts/${{ parameters.architecture }}/Release/'
targetPath: $(Build.ArtifactStagingDirectory)/publishing
artifactName: $(Agent.JobName)_Artifacts
steps:
@ -267,6 +267,13 @@ jobs:
continueOnError: true
condition: succeededOrFailed()
- task: CopyFiles@2
inputs:
SourceFolder: ${{ variables.sourcesPath }}/artifacts/${{ parameters.architecture }}/Release/
TargetFolder: $(Build.ArtifactStagingDirectory)/publishing
displayName: Copy artifacts to Artifact Staging Directory
condition: succeededOrFailed()
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- publish: '$(Build.StagingDirectory)/BuildLogs'
artifact: $(Agent.JobName)_BuildLogs_Attempt$(System.JobAttempt)
@ -274,7 +281,7 @@ jobs:
continueOnError: true
condition: succeededOrFailed()
- publish: '${{ variables.sourcesPath }}/artifacts/${{ parameters.architecture }}/Release/'
- publish: $(Build.ArtifactStagingDirectory)/publishing
artifact: $(Agent.JobName)_Artifacts
displayName: Publish Artifacts
condition: succeededOrFailed()