Skip to content

Commit 2c00141

Browse files
committed
Start pushing packages to public CI feed
2 parents fe4926a + 08950e0 commit 2c00141

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

azure-pipelines.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ variables:
1010
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
1111
BuildConfiguration: Release
1212
BuildPlatform: Any CPU
13+
NuGet.ForceNuGetForPush: true # Workaround for public feed limitation in NuGetCommand task - remove after July 15, 2019.
1314

1415
resources:
1516
containers:
@@ -120,6 +121,15 @@ jobs:
120121
ArtifactType: Container
121122
displayName: Publish build_logs artifacts
122123
condition: succeededOrFailed()
124+
- task: NuGetCommand@2
125+
displayName: Pushing package to PublicCI feed
126+
inputs:
127+
command: push
128+
packagesToPush: $(Build.ArtifactStagingDirectory)/deployables/*.*nupkg
129+
nuGetFeedType: internal
130+
publishVstsFeed: 6ed146e5-8e9c-46d6-a40f-da9367ed50cd/c20edbb7-8403-4456-8f43-f46b47e360b1
131+
allowPackageConflicts: true
132+
condition: and(succeeded(), ne(variables['System.PullRequest.IsFork'], 'true'))
123133

124134
- job: Ubuntu_Xenial
125135
dependsOn: Windows

0 commit comments

Comments
 (0)