From 1b87cd3147155680efb197287c2daaaab8e39165 Mon Sep 17 00:00:00 2001 From: Mehmet Seckin Date: Fri, 15 Nov 2019 21:29:27 +0000 Subject: [PATCH] Remove publish task --- pipelines/ci.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pipelines/ci.yml b/pipelines/ci.yml index 657af0e..3d12ab7 100644 --- a/pipelines/ci.yml +++ b/pipelines/ci.yml @@ -6,16 +6,9 @@ pool: variables: buildConfiguration: 'Release' - solutionFile: $(Build.SourcesDirectory)/src/Todo.CLI.sln - projectDirectory: $(Build.SourcesDirectory)/src/Todo.CLI + solutionFile: $(Build.SourcesDirectory)\src\Todo.CLI.sln + projectDirectory: $(Build.SourcesDirectory)\src\Todo.CLI steps: - script: dotnet build $(solutionFile) --configuration $(buildConfiguration) - displayName: 'dotnet build $(solutionFile) $(buildConfiguration)' -- script: dotnet publish $(projectDirectory) --configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory) - displayName: 'dotnet publish $(projectDirectory) $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)' -- task: PublishBuildArtifacts@1 - inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' - ArtifactName: 'todo-cli' - publishLocation: 'Container' \ No newline at end of file + displayName: 'Build solution' \ No newline at end of file