From 6dd175726f5cc472246d0ceb0d56c720d259e728 Mon Sep 17 00:00:00 2001 From: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Tue, 13 Jun 2023 21:32:57 +0200 Subject: [PATCH] Engineering - update pipeline --- azure-pipelines.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b2c3664..7aae4eb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,9 +2,8 @@ name: $(Date:yyyyMMdd)$(Rev:.r) trigger: branches: - include: ["*"] - tags: - include: ["*"] + include: + - main pr: none resources: @@ -15,6 +14,12 @@ resources: ref: main endpoint: Monaco +parameters: + - name: publishExtension + displayName: 🚀 Publish Extension + type: boolean + default: false + extends: template: azure-pipelines/extension/stable.yml@templates parameters: @@ -33,3 +38,5 @@ extends: displayName: Compile, Lint, Test env: DISPLAY: ":99.0" + + publishExtension: ${{ parameters.publishExtension }}