forked from OrleansContrib/SignalR.Orleans
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
38 lines (32 loc) · 1.11 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# ASP.NET Core
# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
variables:
buildConfiguration: 'Release'
steps:
- task: DotNetCoreCLI@2
displayName: 'dotnet tests '
enabled: true
inputs:
command: 'test'
projects: '**/*[Tt]ests/*.csproj'
arguments: '--configuration $(buildConfiguration)'
- task: DotNetCoreCLI@2
displayName: 'dotnet pack'
inputs:
command: 'custom'
projects: 'src/SignalR.Orleans/SignalR.Orleans.csproj'
custom: 'pack'
arguments: '--configuration $(buildConfiguration) -o $(Build.ArtifactStagingDirectory) -p:IncludeSymbols=false -p:IncludeSource=false -p:PackageVersion=1.5.0.$(Build.BuildId) -p:PackageId=Mmm.SignalR.Orleans'
- task: DotNetCoreCLI@2
displayName: 'dotnet push'
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/*.nupkg'
nuGetFeedType: 'internal'
publishVstsFeed: '90a60c75-8236-43e9-bd2a-a9c0553b1af7'