forked from IdentityServer/IdentityServer4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
44 lines (42 loc) · 1.02 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
39
40
41
42
43
44
trigger:
- master
- features/*
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-16.04'
steps:
- task: UseDotNet@2
displayName: 'Install .NET Core 3.x SDK'
inputs:
packageType: 'sdk'
version: '3.0.100-preview9-014004'
includePreviewVersions: true
- task: Bash@3
displayName: 'Build Script'
inputs:
targetType: filePath
filePath: ./build.sh
- job: Windows
pool:
vmImage: 'vs2017-win2016'
steps:
- task: UseDotNet@2
displayName: 'Install .NET Core 3.x SDK'
inputs:
packageType: 'sdk'
version: '3.0.100-preview9-014004'
includePreviewVersions: true
- task: PowerShell@2
displayName: 'Build Script'
inputs:
targetType: filePath
filePath: ./build.ps1
- task: NuGetCommand@2
displayName: 'MyGet push'
inputs:
command: push
packagesToPush: 'nuget/*.nupkg'
nuGetFeedType: external
publishFeedCredentials: 'MyGet'
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))