From 52b612647dec7083c779d486fd0129920164a1d4 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 7 Feb 2020 16:15:38 +0100 Subject: [PATCH] try to add a nuget feed --- azure-pipelines.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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