Skip to content

Commit d04822d

Browse files
authoredSep 9, 2024··
Merge pull request #1471 from microsoft/main
Copy NuGet Packages and push to Feed (#1470)
2 parents 0231bee + 6ae474c commit d04822d

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed
 

‎eng/pipelines/steps/PublishVSPackages.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,21 @@ steps:
1818
targetPath: '$(Build.SourcesDirectory)\obj\Lab.Release\NugetPackageVersion.txt'
1919
artifactName: 'PackageVersion'
2020
OneESPT: true
21-
21+
22+
- task: CopyFiles@2
23+
inputs:
24+
SourceFolder: $(Build.BinariesDirectory)
25+
Contents: '**/*.nupkg'
26+
TargetFolder: $(Build.SourcesDirectory)/NugetPackages
27+
flattenFolders: true
28+
OverWrite: true
29+
2230
- task: 1ES.PublishNuget@1
2331
displayName: Publish Nuget package
2432
condition: and(succeeded(), eq(variables['SignType'], 'real'))
2533
inputs:
26-
packagesToPush: '$(Build.SourcesDirectory)\VS.Redist.Debugger.MDD.MIEngine.*.nupkg;$(Build.SourcesDirectory)\VS.Redist.Debugger.MDD.UnixPortSupplier.*.nupkg'
27-
packageParentPath: '$(Build.SourcesDirectory)'
34+
packagesToPush: '$(Build.SourcesDirectory)/NugetPackages/*.nupkg'
35+
packageParentPath: '$(Build.SourcesDirectory)/NugetPackages'
2836
publishVstsFeed: '97a41293-2972-4f48-8c0e-05493ae82010' # VS
2937
nuGetFeedType: internal
3038
...

0 commit comments

Comments
 (0)
Please sign in to comment.