From 4ff92d9a68262164ba79fde737cbe092e27b03d3 Mon Sep 17 00:00:00 2001 From: Nate Ferrell Date: Sat, 23 Feb 2019 03:01:24 -0600 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b422b38d4..472d8c0b8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -19,8 +19,23 @@ phases: name: Hosted VS2017 steps: + - task: DotNetCoreCLI@2 + displayName: Compile C# Class Library + inputs: + command: restore + includeNuGetOrg: true + projects: ./VaporShell/Classes/VaporShell.csproj + + - task: DotNetCoreCLI@2 + displayName: Compile C# Class Library + inputs: + command: build + includeNuGetOrg: true + configuration: Release + projects: ./VaporShell/Classes/VaporShell.csproj + - powershell: . ./build.ps1 - displayName: Compile Module + displayName: Compile PowerShell Module - task: PublishBuildArtifacts@1 displayName: 'Publish Artifact: Compiled Module' @@ -28,6 +43,12 @@ phases: PathtoPublish: BuildOutput ArtifactName: BuildOutput + - task: PublishBuildArtifacts@1 + displayName: 'Publish Artifact: Root Class Folder' + inputs: + PathtoPublish: ./VaporShell/Classes + ArtifactName: Classes + - phase: Phase_2 displayName: Test Module on Windows (PSv5)