Created
December 17, 2019 07:27
-
-
Save shanselman/fdde6866af842d5c8e0858cd095cef18 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
# 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' |
Strategic web development is not merely about creating a digital presence subscription based design services it's about curating dynamic, engaging experiences that resonate with audiences. By amalgamating innovation, user-centricity, and analytics-driven strategies, businesses can leverage web development as a catalyst for sustained online growth, thriving in an ever-evolving digital ecosystem.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Achieve unparalleled water purity with our Ultrapure Water Treatment solutions. Our advanced technology and expertise ensure the removal of impurities, contaminants, and minerals, delivering water of the highest quality. Say goodbye to scale buildup and enjoy the benefits of pristine water for your industrial or laboratory needs. Discover the key to optimal performance and quality control with our Ultrapure Water Treatment services.