From b21b1f87b8c33c427155ecc1c91455b5e4f8ca8b Mon Sep 17 00:00:00 2001 From: alvaron14 <42387666+alvaron14@users.noreply.github.com> Date: Mon, 28 Dec 2020 21:12:27 +0100 Subject: [PATCH 1/3] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..9c2222e --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,17 @@ +# 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: +- script: dotnet build --configuration $(buildConfiguration) + displayName: 'dotnet build $(buildConfiguration)' From 5dc16a288076e64c815afc46aa915d398323a923 Mon Sep 17 00:00:00 2001 From: alvaron14 <42387666+alvaron14@users.noreply.github.com> Date: Mon, 28 Dec 2020 21:58:24 +0100 Subject: [PATCH 2/3] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9c2222e..50e5a58 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,7 +5,6 @@ trigger: - main - pool: vmImage: 'ubuntu-latest' @@ -15,3 +14,8 @@ variables: steps: - script: dotnet build --configuration $(buildConfiguration) displayName: 'dotnet build $(buildConfiguration)' + +- task: DotNetCoreCLI@2 + inputs: + command: 'run' + projects: '**/*.csproj' \ No newline at end of file From bfd2dc4fc6b3c9bf2d80627ff59f670a0e3f87d8 Mon Sep 17 00:00:00 2001 From: alvaron14 <42387666+alvaron14@users.noreply.github.com> Date: Tue, 29 Dec 2020 02:36:40 +0100 Subject: [PATCH 3/3] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 50e5a58..e932055 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,5 +17,6 @@ steps: - task: DotNetCoreCLI@2 inputs: - command: 'run' + command: 'publish' + publishWebProjects: false projects: '**/*.csproj' \ No newline at end of file