Skip to content

Commit

Permalink
Copy NuGet Packages and push to Feed (#1470)
Browse files Browse the repository at this point in the history
This PR fixes the issue where packages are not being published and
copies it to a specific folder before uploading
  • Loading branch information
WardenGnaw authored Sep 9, 2024
1 parent 1c0b682 commit 6ae474c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions eng/pipelines/steps/PublishVSPackages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,21 @@ steps:
targetPath: '$(Build.SourcesDirectory)\obj\Lab.Release\NugetPackageVersion.txt'
artifactName: 'PackageVersion'
OneESPT: true


- task: CopyFiles@2
inputs:
SourceFolder: $(Build.BinariesDirectory)
Contents: '**/*.nupkg'
TargetFolder: $(Build.SourcesDirectory)/NugetPackages
flattenFolders: true
OverWrite: true

- task: 1ES.PublishNuget@1
displayName: Publish Nuget package
condition: and(succeeded(), eq(variables['SignType'], 'real'))
inputs:
packagesToPush: '$(Build.SourcesDirectory)\VS.Redist.Debugger.MDD.MIEngine.*.nupkg;$(Build.SourcesDirectory)\VS.Redist.Debugger.MDD.UnixPortSupplier.*.nupkg'
packageParentPath: '$(Build.SourcesDirectory)'
packagesToPush: '$(Build.SourcesDirectory)/NugetPackages/*.nupkg'
packageParentPath: '$(Build.SourcesDirectory)/NugetPackages'
publishVstsFeed: '97a41293-2972-4f48-8c0e-05493ae82010' # VS
nuGetFeedType: internal
...

0 comments on commit 6ae474c

Please sign in to comment.