-
Notifications
You must be signed in to change notification settings - Fork 5
/
azure-pipelines.yml
36 lines (28 loc) · 1000 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
33
34
35
36
trigger:
- master
pool:
vmImage: 'windows-2019'
variables:
buildConfiguration: 'Release'
steps:
- task: DotNetCoreInstaller@0
displayName: 'Installing .NET Core SDK...'
inputs:
version: 3.1.300
- task: NuGetToolInstaller@0
displayName: 'Installing Nuget Tools...'
inputs:
versionSpec: '4.9.2'
- script: dotnet build --configuration $(buildConfiguration) src/Blazored.FormExtensions/Blazored.FormExtensions.csproj
displayName: 'Building $(buildConfiguration)...'
- script: dotnet test ./tests/Blazored.FormExtensions.Tests/Blazored.FormExtensions.Tests.csproj --configuration $(buildConfiguration)
displayName: 'Testing $(buildConfiguration)...'
- task: DotNetCoreCLI@2
displayName: 'Generating Nuget Package... '
inputs:
command: pack
arguments: --no-build
packagesToPack: src/Blazored.FormExtensions/Blazored.FormExtensions.csproj
configuration: $(buildConfiguration)
- task: PublishBuildArtifacts@1
displayName: 'Publishing Build Artifacts...'