I am trying to push private nuget package via azure pipeline. There is no error but i cant see artifact being published in my feed. Here is my yml file. What am i doing wrong here or what can i add?
name: $(BuildDefinitionName)_$(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)trigger: - masterpool: vmImage: 'windows-latest'variables: buildConfiguration: 'Release' version.MajorMinor: '4.0' version.Revision: $[counter(variables['version.MajorMinor'], 0)] versionNumber: '$(version.MajorMinor).$(version.Revision)'steps: - task: CmdLine@2 inputs: script: 'dir' displayName: 'dotnet build $(buildConfiguration)' - task: DotNetCoreCLI@2 displayName: 'dotnet build' inputs: command: 'build' arguments: '--configuration $(buildConfiguration)' projects: 'MyProj.csproj' - task: PowerShell@2 displayName: Set the name of the build (i.e. the Build.BuildNumber) inputs: targetType: 'inline' script: | [string] $buildName = "$(Build.SourceBranchName)_$(versionNumber)" Write-Host "Setting the name of the build to '$buildName'." Write-Host "##vso[build.updatebuildnumber]$buildName" - task: DotNetCoreCLI@2 displayName: "dotnet pack" inputs: command: 'pack' packagesToPack: 'MyProj.csproj' nobuild: true versioningScheme: 'byEnvVar' versionEnvVar: 'versionNumber' packDestination: '$(Build.ArtifactStagingDirectory)' - task: NuGetCommand@2 inputs: command: 'push' packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' nuGetFeedType: 'internal' publishVstsFeed: 'XXXXXXXXX/YYYYYYYYYYYY' allowPackageConflicts: true