Created
May 9, 2019 21:39
-
-
Save mirontoli/98b933ff3e933eef6ac4b3259b21ed80 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigger: | |
- master | |
pool: | |
vmImage: 'ubuntu-latest' | |
variables: | |
buildConfiguration: 'Release' | |
steps: | |
- script: dotnet build --configuration $(buildConfiguration) | |
displayName: 'dotnet build $(buildConfiguration)' | |
- task: DotNetCoreCLI@2 | |
displayName: 'dotnet publish $(buildConfiguration)' | |
inputs: | |
command: publish | |
publishWebProjects: False | |
arguments: '--configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory)' | |
zipAfterPublish: True | |
- task: PublishBuildArtifacts@1 | |
displayName: 'publish artifacts' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment