Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Publish only on all configurations and only publish Json package #42892

Merged
merged 1 commit into from
Mar 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions eng/pipelines/corefx-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,19 @@ jobs:
helixToken: ''

- ${{ if eq(parameters.isOfficialBuild, 'true') }}:
- task: CopyFiles@2
displayName: Prepare artifacts packages folder to publish
inputs:
sourceFolder: $(Build.SourcesDirectory)/artifacts/packages
targetFolder: $(Build.ArtifactStagingDirectory)/artifacts/packages
contents: |
**/System.Net.Http.Json*.nupkg
condition: and(succeeded(), eq(variables['_publishPackages'], true))

- task: PublishBuildArtifacts@1
displayName: Publish packages to artifacts container
inputs:
pathToPublish: $(Build.SourcesDirectory)/artifacts/packages
pathToPublish: $(Build.ArtifactStagingDirectory)/artifacts/packages
artifactName: packages
artifactType: container
condition: and(succeeded(), ne(variables['_skipPublishPackages'], 'true'))
condition: and(succeeded(), eq(variables['_publishPackages'], 'true'))
5 changes: 1 addition & 4 deletions eng/pipelines/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,28 +75,24 @@ stages:
_architecture: x86
_framework: netfx
_helixQueues: $(uapNetfxQueues)
_skipPublishPackages: true # In NETFX leg we don't produce packages

NETFX_x64_Release:
_BuildConfig: Release
_architecture: x64
_framework: netfx
_helixQueues: $(uapNetfxQueues)
_skipPublishPackages: true # In NETFX leg we don't produce packages

UAP_x64_Release:
_BuildConfig: Release
_architecture: x64
_framework: uap
_helixQueues: $(uapNetfxQueues)
_skipPublishPackages: true # In UWP we don't produce packages

UAP_x86_Release:
_BuildConfig: Release
_architecture: x86
_framework: uap
_helixQueues: $(uapNetfxQueues)
_skipPublishPackages: true # In UWP we don't produce packages

arm64_Release:
_BuildConfig: Release
Expand Down Expand Up @@ -144,6 +140,7 @@ stages:
_architecture: x64
_framework: allConfigurations
_helixQueues: $(allConfigurationsQueues)
_publishPackages: true

pool:
${{ if ne(variables['System.TeamProject'], 'public') }}:
Expand Down