Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
scrthq committed Feb 23, 2019
1 parent 36b99a8 commit 4ff92d9
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,36 @@ 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'
inputs:
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)
Expand Down

0 comments on commit 4ff92d9

Please sign in to comment.