From c0a6fb3384b91f0f2079329a55e79d0f0d05d83d Mon Sep 17 00:00:00 2001 From: jnosek Date: Mon, 6 Jul 2020 14:33:21 -0400 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8e09160..a57cb99 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,4 +1,5 @@ # Starter pipeline + # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml @@ -14,8 +15,13 @@ pool: vmImage: 'windows-latest' steps: -- script: dotnet build -c {{ variables.configuration }} +- task: DotNetCoreCLI@2 displayName: 'Build' - -- script: dotnet test -c {{ variables.configuration }} + inputs: + command: 'build' + arguments: '-C {{ variables.configuration }}' +- task: DotNetCoreCLI@2 displayName: 'Test' + inputs: + command: 'build' + arguments: '-C {{ variables.configuration }}'