commit 640b40baa10b62219803a0b11458fd07719621a0
parent 25a3b81fd0b4226395c6548f1410826fd4df928f
Author: MikoĊaj Lenczewski <mikolaj.lenczewski308@gmail.com>
Date: Wed, 10 Jun 2020 21:07:30 +0100
Merge pull request #1 from EnderRifter/azure-pipelines
Update azure-pipelines.yml for Azure Pipelines
Diffstat:
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
@@ -42,6 +42,8 @@ steps:
command: 'test'
projects: '**/*.csproj'
+## We only want to build the NetSharp project, not the NetSharpExamples project.
+## Users should clone the repo to run the examples.
- task: DotNetCoreCLI@2
inputs:
command: 'pack'
@@ -53,10 +55,11 @@ steps:
minorVersion: '$(minor)'
patchVersion: '$(patch)'
+## Publishing to Azure Artifacts
- task: NuGetAuthenticate@0
inputs:
forceReinstallCredentialProvider: true
-
+
- task: NuGetCommand@2
inputs:
command: 'push'
@@ -66,6 +69,11 @@ steps:
disableParallelProcessing: true
publishVstsFeed: 'f9dc36eb-1775-45c6-a7f2-64cb96034463/ddde3a7f-a830-43ac-a25a-3fde3da1abcf'
+## Publishing to NuGet
+- task: NuGetAuthenticate@0
+ inputs:
+ forceReinstallCredentialProvider: true
+
- task: NuGetCommand@2
inputs:
command: 'push'
@@ -73,3 +81,9 @@ steps:
nuGetFeedType: 'external'
publishFeedCredentials: '$(nugetConnName)'
+- task: PublishSymbols@2
+ inputs:
+ SearchPattern: '**/bin/**/*.pdb'
+ SymbolServerType: 'TeamServices'
+ TreatNotIndexedAsWarning: true
+ SymbolsVersion: '2.\*'
+\ No newline at end of file