Skip to content

Commit

Permalink
Update ci.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
use parentheses for variables
  • Loading branch information
mehmetseckin committed Nov 15, 2019
1 parent 52a82d5 commit f2d6943
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ variables:
projectDirectory: $(Build.SourcesDirectory)/src/Todo.CLI

steps:
- script: dotnet build $solution --configuration $(buildConfiguration)
displayName: 'dotnet build $solution $(buildConfiguration)'
- script: dotnet publish $projectDirectory --configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)
displayName: 'dotnet publish $projectDirectory $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)'
- script: dotnet build $(solution) --configuration $(buildConfiguration)
displayName: 'dotnet build $(solution) $(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)'
Expand Down

0 comments on commit f2d6943

Please sign in to comment.