commit bdd3862debee15a87195f51e927dfb1762eda5ac
parent da3fe9c448a0999de5f3d7f5aaf53f4e96ce183c
Author: EnderRifter <33129490+EnderRifter@users.noreply.github.com>
Date: Wed, 19 Jun 2019 18:51:11 +0100
Update azure-pipelines.yml for Azure Pipelines
Diffstat:
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
@@ -1,4 +1,5 @@
# 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
@@ -13,7 +14,17 @@ variables:
buildConfiguration: 'Release'
steps:
-- script: dotnet restore
-- script: dotnet build --configuration $(buildConfiguration)
- displayName: 'dotnet build $(buildConfiguration)'
-- task: PublishBuildArtifacts@1
+- task: DotNetCoreCLI@2
+ inputs:
+ command: 'restore'
+ projects: '.\StarSim'
+ feedsToUse: 'select'
+- task: DotNetCoreCLI@2
+ inputs:
+ command: 'build'
+ projects: '.\StarSim\'
+- task: DotNetCoreCLI@2
+ inputs:
+ command: 'publish'
+ publishWebProjects: true
+