Skip to content

Instantly share code, notes, and snippets.

@shanselman
Created December 17, 2019 07:27
Show Gist options
  • Select an option

  • Save shanselman/fdde6866af842d5c8e0858cd095cef18 to your computer and use it in GitHub Desktop.

Select an option

Save shanselman/fdde6866af842d5c8e0858cd095cef18 to your computer and use it in GitHub Desktop.
# 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'
@sarahshelton68

Copy link
Copy Markdown

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.

@sarahshelton1

Copy link
Copy Markdown

Amazon serves millions of customers worldwide, making it a vital channel for businesses looking to expand their reach. By using Amazon services such as SEO optimization and advertising, sellers can maximize visibility for their products, ensuring they appear in front of the right audience amazon storefront design services

@jimmychris45

Copy link
Copy Markdown

It’s in point of fact a nice and helpful piece of information. I’m glad that you shared this helpful info with us. Please stay us informed like this. Thanks for sharing. Unique SEO Backlinks

@liamparkerblogs

Copy link
Copy Markdown

A festive apparel brand christmas lights shirt offering vibrant, high-quality holiday shirts designed for comfort, style, and spreading holiday cheer — perfect for parties, family gatherings, and seasonal celebrations.

@chloemitchellblogs

Copy link
Copy Markdown

A software development company in Karachi, Pakistan DebalSoft building scalable web and mobile applications, with a focus on innovation, performance, and client satisfaction.

@lynciaandersons

Copy link
Copy Markdown

Great insights on navigating the property process—Conveyancing Hive simplifies every step with expert guidance and clarity!

@liamsnoah

Copy link
Copy Markdown

Check out these bold designs, only at Most Offensive Shirts, where the most offensive shirts become a statement.

@eurekaleo0

Copy link
Copy Markdown

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