You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ReleaseNotes: 'Create a new package of a .net library and publish as nuget package in the artifacts feed under azure devops'
12
+
Tags: 'Dev'
13
+
14
+
steps:
15
+
16
+
- task: UseDotNet@2
17
+
displayName: '.NET Core 6.x'
18
+
inputs:
19
+
version: 6.x
20
+
21
+
- task: NuGetToolInstaller@0
22
+
displayName: 'NuGet 6.8.x'
23
+
inputs:
24
+
versionSpec: 6.8.x
25
+
26
+
- task: NuGetCommand@2
27
+
displayName: 'NuGet restore'
28
+
inputs:
29
+
restoreSolution: <.Net solution path from the repo> #replace with .Net solution path from the repo
30
+
vstsFeed: '<feed_key>'#Use packages from this Azure Artifacts/TFS feed
31
+
32
+
- task: VSBuild@1
33
+
displayName: 'Build solution'
34
+
inputs:
35
+
solution: <.Net solution path from the repo> #replace with .Net solution path from the repo, Include the selected feed in the generated NuGet.config. You must have Azure Artifacts installed and licensed to select a feed here.
0 commit comments