Skip to content

Commit b1b6e7e

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent 831a116 commit b1b6e7e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

azure-pipelines.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,27 @@ jobs:
8989
!**\obj\**
9090
searchFolder: '$(System.DefaultWorkingDirectory)'
9191

92+
- task: DotNetCoreCLI@2
93+
displayName: dotnet restore
94+
inputs:
95+
command: 'restore'
96+
projects: '**/*.csproj'
97+
feedsToUse: 'select'
98+
99+
- task: DotNetCoreCLI@2
100+
displayName: dotnet build
101+
inputs:
102+
command: 'build'
103+
projects: '**/*.csproj'
104+
feedsToUse: 'select'
105+
106+
- task: DotNetCoreCLI@2
107+
displayName: dotnet test
108+
inputs:
109+
command: 'test'
110+
projects: '**/*.csproj'
111+
feedsToUse: 'select'
112+
92113
- task: PowerShell@2
93114
condition: and(succeeded(), eq(variables['BUILD_PUBLISH_ARTIFACTS'], 'True'))
94115
displayName: dotnet publish

0 commit comments

Comments
 (0)