I am trying to setup an Azure Artifact feed to deploy nuget packages my team creates. I have the feed created and connected to my upstream feed.
In my .yaml file, I have it referencing the upstream feed to restore from and push to with the trigger happening on my main branch(I have also tried setting the referenced feed to be my non-upstream feed, but I get the same result I mention below).
trigger:- main pool: vmImage: ubuntu-latestvariables: buildConfiguration: 'Release'steps:- task: DotNetCoreCLI@2 inputs: command: 'restore' projects: '**/*.csproj' feedsToUse: 'select'- task: NuGetCommand@2 inputs: command: 'restore' restoreSolution: '**/*.sln' feedsToUse: 'select' vstsFeed: '{InternalUpstreamFeedArtifact}'- task: NuGetCommand@2 inputs: command: 'pack' packagesToPack: '*.csproj' versioningScheme: 'off'- task: NuGetCommand@2 inputs: command: 'push' packagesToPush: '$(Build.ArtifactStagingDirectory)/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' nuGetFeedType: 'internal' publishVstsFeed: '{ InternalUpstreamFeedArtifact }'
When I check the feed after I run my pipeline, it never goes into either feed. I also don't get any errors during the run process. I'm not sure if providing the project's folder structure will help, but I'm including it anyway in case that may be the reason why.
Path: \Service\Service\bin\Debug
Finally, here's what my nuget.config file looks like.
<?xml version="1.0" encoding="utf-8"?><configuration><packageSources><clear /><add key="TestFeed" value=https://pkgs.dev.azure.com/Company/Project/_packaging/TestFeed/nuget/v3/index.json /></packageSources></configuration>
Can anyone explain what I'm doing wrong and point me in the right direction to fix it? Thanks in advance for any & all help.