-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
34 lines (29 loc) · 913 Bytes
/
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
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
pool:
vmImage: 'Ubuntu-16.04'
steps:
- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: 'HttpClient.Middleware.BearerToken.sln'
displayName: 'Building HttpClient.Middleware.BearerToken'
- task: DotNetCoreCLI@2
inputs:
command: 'test'
projects: 'HttpClient.Middleware.BearerToken.sln'
displayName: 'Testing HttpClient.Middleware.BearerToken'
- task: DotNetCoreCLI@2
inputs:
command: 'pack'
displayName: 'Packaging HttpClient.Middleware.BearerToken'
- task: NuGetCommand@2
inputs:
command: 'push'
nuGetFeedType: 'external'
externalEndpoint: 'd80d1388-626f-43a1-82f2-0ebabdae7d52'
displayName: 'Pushing HttpClient.Middleware.BearerToken package to NuGet'