File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -226,13 +226,16 @@ phases:
226226 msbuildVersion : 15.0
227227 continueOnError : false
228228
229- - task : MSBuild@1
230- displayName : Publish Packages to MyGet Feed
229+ - task : NuGetCommand@2
230+ displayName : Publish Packages to DevOps Feed
231231 inputs :
232- solution : build/publish.proj
233- msbuildArguments : /t:PublishPackages /p:NuGetFeedUrl=$(_NuGetFeedUrl) /p:NuGetApiKey=$(myget-shmoradi-mlnet2-api-key)
234- msbuildVersion : 15.0
232+ command : push
233+ packagesToPush : $(Build.SourcesDirectory)/bin/packages/**/*.nupkg;!$(Build.SourcesDirectory)/bin/packages/**/*.symbols.nupkg
234+ nuGetFeedType : internal
235+ feedPublish : TorchSharp-DevOps # TODO: Needs setting up.
235236
237+ # TODO: Deal with symbols.
238+
236239 # Terminate all dotnet build processes.
237240 - script : $(Build.SourcesDirectory)/Tools/dotnetcli/dotnet.exe build-server shutdown
238241 displayName : Dotnet Server Shutdown
You can’t perform that action at this time.
0 commit comments