Skip to content

Commit

Permalink
----
Browse files Browse the repository at this point in the history
  • Loading branch information
portega-heat committed Mar 16, 2020
1 parent 626e259 commit 139e567
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
parameters:
buildConfiguration: 'Release'

steps:
- task: DotNetCoreCLI@2
displayName: 'Build the project - ${{ parameters.buildConfiguration }}'
inputs:
command: 'build'
arguments: '--no-restore --configuration ${{ parameters.buildConfiguration }}'
projects: '**/*.csproj'

- task: DotNetCoreCLI@2
displayName: 'Publish the project - ${{ parameters.buildConfiguration }}'
inputs:
command: 'publish'
projects: '**/*.csproj'
publishWebProjects: false
arguments: '--no-build --configuration ${{ parameters.buildConfiguration }} --output $(Build.ArtifactStagingDirectory)/${{ parameters.buildConfiguration }}'
zipAfterPublish: true

0 comments on commit 139e567

Please sign in to comment.