From ba9f549b5f95e3c30592bac16812902d24452d37 Mon Sep 17 00:00:00 2001 From: Bertrand THOMAS Date: Sun, 9 Feb 2020 15:38:22 +0100 Subject: [PATCH] Update pkg.yml for Azure Pipelines --- .azure/pipelines/pkg.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.azure/pipelines/pkg.yml b/.azure/pipelines/pkg.yml index 17199caf..7ad1974f 100644 --- a/.azure/pipelines/pkg.yml +++ b/.azure/pipelines/pkg.yml @@ -9,8 +9,6 @@ trigger: paths: exclude: - README.md - include: - - Directory.Build.props pr: none @@ -38,20 +36,20 @@ steps: packageType: 'sdk' version: '3.1.100' - task: DotNetCoreCLI@2 - displayName: 'Publish the dotnet api' + displayName: 'Publish the ASP.NET API' inputs: command: 'publish' publishWebProjects: false projects: 'dotnet/src/**/*Api.csproj' - arguments: '-c Release -o $(Build.ArtifactStagingDirectory)' + arguments: '-c $(BuildConfiguration) -o $(Build.ArtifactStagingDirectory)/aspnetapi' modifyOutputPath: false - task: DotNetCoreCLI@2 - displayName: 'Publish the dotnet app' + displayName: 'Publish the ASP.NET Angular App' inputs: command: 'publish' publishWebProjects: false - projects: 'dotnet/src/**/*App.csproj' - arguments: '-c Release -o $(Build.ArtifactStagingDirectory)' + projects: 'dotnet/src/**/AngularWebApp.csproj' + arguments: '-c $(BuildConfiguration) -o $(Build.ArtifactStagingDirectory)/aspnetangular' modifyOutputPath: false - task: PublishBuildArtifacts@1 displayName: 'Save the artifacts'