forked from Blazored/LocalStorage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
34 lines (26 loc) · 820 Bytes
/
azure-pipelines.yml
File metadata and controls
34 lines (26 loc) · 820 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
trigger:
- master
pool:
vmImage: 'vs2017-win2016'
variables:
buildConfiguration: 'Release'
steps:
- task: DotNetCoreInstaller@0
displayName: 'Installing .NET Core SDK...'
inputs:
version: 3.0.100-rc1-014190
- task: NuGetToolInstaller@0
displayName: 'Installing Nuget Tools...'
inputs:
versionSpec: '4.9.2'
- script: dotnet build --configuration $(buildConfiguration) src/Blazored.LocalStorage/Blazored.LocalStorage.csproj
displayName: 'Building $(buildConfiguration)...'
- task: DotNetCoreCLI@2
displayName: 'Generating Nuget Package... '
inputs:
command: pack
arguments: --no-build
packagesToPack: src/Blazored.LocalStorage/Blazored.LocalStorage.csproj
configuration: $(buildConfiguration)
- task: PublishBuildArtifacts@1
displayName: 'Publishing Build Artifacts...'