Skip to content

Instantly share code, notes, and snippets.

@shanselman
Created December 17, 2019 07:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shanselman/fdde6866af842d5c8e0858cd095cef18 to your computer and use it in GitHub Desktop.
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

The team at Bay Area Web Design is extremely knowledgeable and always up-to-date with the latest trends and technologies in web design. They go above and beyond to ensure that their client's websites are cutting-edge and optimized for success.

@rachelrichard68
Copy link

Finding the best deals on tractor attachments for sale will help me stay within budget while still getting the attachments I need.

@autuscybertech12
Copy link

Introducing Proximo-Manufacturing ERP Software for Manufacturing Industry. Streamline operations, enhance efficiency, and drive growth with our tailored solution. Manage production, inventory, orders, and more seamlessly. Elevate your industry with Proximo-Manufacturing.

@universalsignandgraphics

Enhance your business's visibility with stunning outdoor signs in The Woodlands! Discover a wide range of eye-catching, durable signage options tailored to your brand. Our expert team crafts custom wooden signs that leave a lasting impression. From rustic charm to modern elegance, we've got you covered. Boost foot traffic and attract potential customers with our outdoor signage solutions. Elevate your business presence in The Woodlands today!

@advanceequipmentandservices

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.

@sarahshelton68
Copy link

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