Skip to content

Commit

Permalink
Remove publish task
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetseckin committed Nov 15, 2019
1 parent 43a060c commit 1b87cd3
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
displayName: 'Build solution'

0 comments on commit 1b87cd3

Please sign in to comment.