NetSharp

NetSharp.git
git clone git://git.lenczewski.org/NetSharp.git
Log | Files | Refs | README | LICENSE

commit d80fd0319d0f90a0b854d264bab93c0bceb45273
parent 536f923fe01a92c04b2826bbcab82c055fd44f5e
Author: MikoĊ‚aj Lenczewski <mikolaj.lenczewski308@gmail.com>
Date:   Wed, 10 Jun 2020 15:57:00 +0100

Update azure-pipelines.yml for Azure Pipelines
Diffstat:
Mazure-pipelines.yml | 47+++++++++++++++++++++++++++++++++++++++++------
1 file changed, 41 insertions(+), 6 deletions(-)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml @@ -10,10 +10,45 @@ pool: vmImage: 'ubuntu-latest' steps: -- script: echo Hello, world! - displayName: 'Run a one-line script' -- script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' +- task: DotNetCoreCLI@2 + inputs: + command: 'restore' + projects: '**/*.csproj' + feedsToUse: 'select' + vstsFeed: 'f9dc36eb-1775-45c6-a7f2-64cb96034463/ddde3a7f-a830-43ac-a25a-3fde3da1abcf' + +- task: DotNetCoreCLI@2 + inputs: + command: 'build' + projects: '**/*.csproj' + arguments: '--configuration Release' + +- task: DotNetCoreCLI@2 + inputs: + command: 'test' + projects: '**/*.csproj' + +- task: DotNetCoreCLI@2 + inputs: + command: 'pack' + packagesToPack: '**/*.csproj' + includesymbols: true + includesource: true + versioningScheme: 'byPrereleaseNumber' + majorVersion: '$(LibVersionMajor)' + minorVersion: '$(LibVersionMinor)' + patchVersion: '$(BUILD_BUILDNUMBER)' + +- task: NuGetAuthenticate@0 + inputs: + forceReinstallCredentialProvider: true + +- task: NuGetCommand@2 + inputs: + command: 'push' + packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;$(Build.ArtifactStagingDirectory)/**/*.snupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' + nuGetFeedType: 'internal' + noCache: true + disableParallelProcessing: true + publishVstsFeed: 'f9dc36eb-1775-45c6-a7f2-64cb96034463/ddde3a7f-a830-43ac-a25a-3fde3da1abcf'