From e56d63504db0f1e7c155d26a01ba29edd2b84fa5 Mon Sep 17 00:00:00 2001 From: stavroskasidis Date: Thu, 3 Feb 2022 11:30:46 +0200 Subject: [PATCH] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-sample-apps.yml | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 azure-pipelines-sample-apps.yml diff --git a/azure-pipelines-sample-apps.yml b/azure-pipelines-sample-apps.yml new file mode 100644 index 0000000..7844e01 --- /dev/null +++ b/azure-pipelines-sample-apps.yml @@ -0,0 +1,34 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: + branches: + include: + - master + paths: + include: + - sampleapps + +pool: + vmImage: ubuntu-latest + +workspace: + clean: all + +steps: + - task: UseDotNet@2 + inputs: + packageType: 'sdk' + useGlobalJson: true + - task: PowerShell@2 + inputs: + filePath: 'scripts/build-sample-apps.ps1' + arguments: '$(VersionSuffix)' + + - task: PublishBuildArtifacts@1 + inputs: + PathtoPublish: 'artifacts/sample-apps' + ArtifactName: 'drop' + publishLocation: 'Container' \ No newline at end of file