diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0e6e0b8..0b52ea6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,4 +27,18 @@ steps: projects: | **/MLEM*.csproj **/Demos.csproj - **/Demos.DesktopGL.csproj \ No newline at end of file + **/Demos.DesktopGL.csproj + +- task: DotNetCoreCLI@2 + inputs: + command: 'pack' + packagesToPack: '**/MLEM*.csproj' + versioningScheme: 'byBuildNumber' + +- task: NuGetCommand@2 + inputs: + command: 'push' + packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' + nuGetFeedType: 'internal' + publishVstsFeed: '706ac046-8929-4e12-a3fc-31c6da632843/1e458b61-aefe-4164-82ca-8a63d1ccc611' + allowPackageConflicts: true