From 4d598fc7afd0d6b296222df4a0406aa352699640 Mon Sep 17 00:00:00 2001 From: Ryan Newington Date: Sat, 4 Feb 2023 09:03:18 +1100 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5398665..e09fec2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -161,11 +161,12 @@ stages: - job: "build_ps_job" steps: - task: DotNetCoreCLI@2 - displayName: dotnet build + displayName: dotnet publish inputs: - command: build - arguments: '-c $(buildConfiguration) -p:Version=$(build.version) --output "$(Build.ArtifactStagingDirectory)\ps"' - projects: 'src/Lithnet.CredentialProvider.Management/Lithnet.CredentialProvider.Management.csproj' + command: 'publish' + arguments: '-c $(buildConfiguration) -p:Version=$(build.version) --output "$(Build.ArtifactStagingDirectory)\ps"' + zipAfterPublish: false + modifyOutputPath: false - task: PowerShell@2 displayName: 'Update manifest version'