-
-
Notifications
You must be signed in to change notification settings - Fork 403
Expand file tree
/
Copy pathazure-pipelines.yaml
More file actions
37 lines (32 loc) · 722 Bytes
/
azure-pipelines.yaml
File metadata and controls
37 lines (32 loc) · 722 Bytes
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
strategy:
matrix:
linux:
imageName: 'ubuntu-latest'
mac:
imageName: 'macos-latest'
windows:
imageName: 'windows-latest'
pool:
vmImage: $(imageName)
steps:
- task: UseDotNet@2
displayName: 'Use .NET SDK 6.0.x'
inputs:
packageType: sdk
version: '6.0.x'
- task: UseDotNet@2
displayName: 'Use .NET Core sdk'
inputs:
useGlobalJson: true
- task: Bash@3
displayName: 'Bash Script'
condition: ne( variables['Agent.OS'], 'Windows_NT' )
inputs:
targetType: filePath
filePath: ./build.sh
- task: PowerShell@2
displayName: 'PowerShell Script'
condition: eq( variables['Agent.OS'], 'Windows_NT' )
inputs:
targetType: filePath
filePath: ./build.ps1