Fix VMR artifact publishing (#19212)
This commit is contained in:
parent
d3df44dc39
commit
5b126d7851
1 changed files with 3 additions and 13 deletions
|
@ -136,16 +136,10 @@ jobs:
|
|||
artifactName: $(Agent.JobName)_BuildLogs_Attempt$(System.JobAttempt)
|
||||
|
||||
- output: pipelineArtifact
|
||||
path: $(Build.ArtifactStagingDirectory)/publishing
|
||||
artifact: $(Agent.JobName)_Artifacts
|
||||
displayName: Publish Artifacts
|
||||
condition: and(succeededOrFailed(), eq(variables['hasAssets'], 'true'))
|
||||
targetPath: $(sourcesPath)/artifacts/assets/Release/
|
||||
artifactName: $(Agent.JobName)_Artifacts
|
||||
|
||||
- ${{ if ne(parameters.buildSourceOnly, 'true') }}:
|
||||
- output: pipelineArtifact
|
||||
displayName: Publish Packages
|
||||
targetPath: $(sourcesPath)/artifacts/packages/Release/
|
||||
artifactName: $(Agent.JobName)_Packages
|
||||
condition: always()
|
||||
|
||||
- ${{ if not(parameters.isBuiltFromVmr) }}:
|
||||
- output: pipelineArtifact
|
||||
|
@ -458,7 +452,3 @@ jobs:
|
|||
SourceFolder: $(sourcesPath)/artifacts/packages
|
||||
TargetFolder: $(Build.ArtifactStagingDirectory)/publishing/packages
|
||||
displayName: Copy packages to Artifact Staging Directory
|
||||
|
||||
- publish: $(Build.ArtifactStagingDirectory)/publishing
|
||||
artifact: $(Agent.JobName)_Artifacts
|
||||
displayName: Publish Artifacts
|
||||
|
|
Loading…
Reference in a new issue