Created
December 17, 2019 07:27
-
-
Save shanselman/fdde6866af842d5c8e0858cd095cef18 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # ASP.NET Core | |
| # Build and test ASP.NET Core projects targeting .NET Core. | |
| # Add steps that run tests, create a NuGet package, deploy, and more: | |
| # https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core | |
| trigger: | |
| - main | |
| pool: | |
| vmImage: 'ubuntu-latest' | |
| variables: | |
| buildConfiguration: 'Release' | |
| steps: | |
| - task: UseDotNet@2 | |
| displayName: ".NET Core 3.1.x" | |
| inputs: | |
| version: '3.1.x' | |
| packageType: sdk | |
| - task: UseDotNet@2 | |
| inputs: | |
| version: '3.1.x' | |
| - script: dotnet build --configuration $(buildConfiguration) | |
| displayName: 'dotnet build $(buildConfiguration)' | |
| - task: DotNetCoreCLI@2 | |
| displayName: "Test" | |
| inputs: | |
| command: test | |
| projects: '**/*tests/*.csproj' | |
| arguments: '--configuration $(buildConfiguration)' | |
| - task: DotNetCoreCLI@2 | |
| displayName: "Publish" | |
| inputs: | |
| command: 'publish' | |
| publishWebProjects: true | |
| arguments: '-r linux-x64 --configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory)' | |
| zipAfterPublish: true | |
| - task: PublishBuildArtifacts@1 | |
| displayName: "Upload Artifacts" | |
| inputs: | |
| pathtoPublish: '$(Build.ArtifactStagingDirectory)' | |
| artifactName: 'hanselminutes' |
These Clinical Pest Solutions are ideal for anyone looking for eco-friendly and effective pest control services.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check out these bold designs, only at Most Offensive Shirts, where the most offensive shirts become a statement.