From 9b85d980bba05d6c365f9eee33278ffe0c930857 Mon Sep 17 00:00:00 2001 From: Ning Liu Date: Fri, 29 Mar 2024 10:56:12 +0800 Subject: [PATCH 1/4] refactor: add teamsApp/validateForTestCases action to publish lifecycle --- .../yml/actions/teamsAppValidateForTestCases.mustache | 5 +++++ .../teamsapp.yml.tpl.mustache | 1 + .../copilot-plugin-existing-api/teamsapp.yml.tpl.mustache | 1 + .../copilot-plugin-from-oai-plugin/teamsapp.yml.tpl.mustache | 1 + .../js/api-message-extension-sso/teamsapp.yml.tpl.mustache | 1 + .../js/api-plugin-from-scratch/teamsapp.yml.tpl.mustache | 1 + .../js/command-and-response/teamsapp.yml.tpl.mustache | 1 + .../teamsapp.yml.tpl.mustache | 1 + .../js/copilot-plugin-from-scratch/teamsapp.yml.tpl.mustache | 1 + .../yml/templates/js/dashboard-tab/teamsapp.yml.tpl.mustache | 1 + .../default-bot-message-extension/teamsapp.yml.tpl.mustache | 1 + .../yml/templates/js/default-bot/teamsapp.yml.tpl.mustache | 1 + .../templates/js/link-unfurling/teamsapp.yml.tpl.mustache | 1 + .../js/m365-message-extension/teamsapp.yml.tpl.mustache | 1 + .../js/message-extension-copilot/teamsapp.yml.tpl.mustache | 1 + .../templates/js/message-extension/teamsapp.yml.tpl.mustache | 1 + .../js/non-sso-tab-default-bot/teamsapp.yml.tpl.mustache | 1 + .../yml/templates/js/non-sso-tab/teamsapp.yml.tpl.mustache | 1 + .../teamsapp.yml.tpl.mustache | 1 + .../js/notification-http-trigger/teamsapp.yml.tpl.mustache | 1 + .../js/notification-restify/teamsapp.yml.tpl.mustache | 1 + .../js/notification-timer-trigger/teamsapp.yml.tpl.mustache | 1 + .../js/sso-tab-with-obo-flow/teamsapp.yml.tpl.mustache | 1 + .../yml/templates/js/workflow/teamsapp.yml.tpl.mustache | 1 + .../ts/api-message-extension-sso/teamsapp.yml.tpl.mustache | 1 + .../ts/api-plugin-from-scratch/teamsapp.yml.tpl.mustache | 1 + .../ts/command-and-response/teamsapp.yml.tpl.mustache | 1 + .../teamsapp.yml.tpl.mustache | 1 + .../ts/copilot-plugin-from-scratch/teamsapp.yml.tpl.mustache | 1 + .../yml/templates/ts/dashboard-tab/teamsapp.yml.tpl.mustache | 1 + .../default-bot-message-extension/teamsapp.yml.tpl.mustache | 1 + .../yml/templates/ts/default-bot/teamsapp.yml.tpl.mustache | 1 + .../templates/ts/link-unfurling/teamsapp.yml.tpl.mustache | 1 + .../ts/m365-message-extension/teamsapp.yml.tpl.mustache | 1 + .../ts/message-extension-copilot/teamsapp.yml.tpl.mustache | 1 + .../templates/ts/message-extension/teamsapp.yml.tpl.mustache | 1 + .../ts/non-sso-tab-default-bot/teamsapp.yml.tpl.mustache | 1 + .../yml/templates/ts/non-sso-tab/teamsapp.yml.tpl.mustache | 1 + .../teamsapp.yml.tpl.mustache | 1 + .../ts/notification-http-trigger/teamsapp.yml.tpl.mustache | 1 + .../ts/notification-restify/teamsapp.yml.tpl.mustache | 1 + .../ts/notification-timer-trigger/teamsapp.yml.tpl.mustache | 1 + .../ts/sso-tab-with-obo-flow/teamsapp.yml.tpl.mustache | 1 + .../yml/templates/ts/workflow/teamsapp.yml.tpl.mustache | 1 + 44 files changed, 48 insertions(+) create mode 100644 templates/constraints/yml/actions/teamsAppValidateForTestCases.mustache diff --git a/templates/constraints/yml/actions/teamsAppValidateForTestCases.mustache b/templates/constraints/yml/actions/teamsAppValidateForTestCases.mustache new file mode 100644 index 0000000000..049209156c --- /dev/null +++ b/templates/constraints/yml/actions/teamsAppValidateForTestCases.mustache @@ -0,0 +1,5 @@ + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip \ No newline at end of file diff --git a/templates/constraints/yml/templates/common/copilot-plugin-existing-api-api-key/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/common/copilot-plugin-existing-api-api-key/teamsapp.yml.tpl.mustache index 208e5eeb4c..70662766e1 100644 --- a/templates/constraints/yml/templates/common/copilot-plugin-existing-api-api-key/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/common/copilot-plugin-existing-api-api-key/teamsapp.yml.tpl.mustache @@ -20,4 +20,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/common/copilot-plugin-existing-api/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/common/copilot-plugin-existing-api/teamsapp.yml.tpl.mustache index 8b6ead81b5..c5b9bcae57 100644 --- a/templates/constraints/yml/templates/common/copilot-plugin-existing-api/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/common/copilot-plugin-existing-api/teamsapp.yml.tpl.mustache @@ -18,4 +18,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl.mustache index 8b6ead81b5..c5b9bcae57 100644 --- a/templates/constraints/yml/templates/common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl.mustache @@ -18,4 +18,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/api-message-extension-sso/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/api-message-extension-sso/teamsapp.yml.tpl.mustache index f08ea877a9..5eeb7544fa 100644 --- a/templates/constraints/yml/templates/js/api-message-extension-sso/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/api-message-extension-sso/teamsapp.yml.tpl.mustache @@ -34,4 +34,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/api-plugin-from-scratch/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/api-plugin-from-scratch/teamsapp.yml.tpl.mustache index 9fcbacb22a..cbee548e91 100644 --- a/templates/constraints/yml/templates/js/api-plugin-from-scratch/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/api-plugin-from-scratch/teamsapp.yml.tpl.mustache @@ -30,4 +30,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/command-and-response/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/command-and-response/teamsapp.yml.tpl.mustache index d6f3e52be3..605a13ac9e 100644 --- a/templates/constraints/yml/templates/js/command-and-response/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/command-and-response/teamsapp.yml.tpl.mustache @@ -26,4 +26,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl.mustache index fb74295349..f6da338999 100644 --- a/templates/constraints/yml/templates/js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl.mustache @@ -32,4 +32,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl.mustache index 9fcbacb22a..cbee548e91 100644 --- a/templates/constraints/yml/templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl.mustache @@ -30,4 +30,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/dashboard-tab/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/dashboard-tab/teamsapp.yml.tpl.mustache index 0fb7f4d554..77e01a5df8 100644 --- a/templates/constraints/yml/templates/js/dashboard-tab/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/dashboard-tab/teamsapp.yml.tpl.mustache @@ -28,4 +28,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/default-bot-message-extension/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/default-bot-message-extension/teamsapp.yml.tpl.mustache index 62e1307243..b03b955f72 100644 --- a/templates/constraints/yml/templates/js/default-bot-message-extension/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/default-bot-message-extension/teamsapp.yml.tpl.mustache @@ -26,4 +26,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/default-bot/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/default-bot/teamsapp.yml.tpl.mustache index 62e1307243..b03b955f72 100644 --- a/templates/constraints/yml/templates/js/default-bot/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/default-bot/teamsapp.yml.tpl.mustache @@ -26,4 +26,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/link-unfurling/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/link-unfurling/teamsapp.yml.tpl.mustache index 1175a7b75d..7044705852 100644 --- a/templates/constraints/yml/templates/js/link-unfurling/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/link-unfurling/teamsapp.yml.tpl.mustache @@ -27,4 +27,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/m365-message-extension/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/m365-message-extension/teamsapp.yml.tpl.mustache index 042fd4632c..06ca6967e0 100644 --- a/templates/constraints/yml/templates/js/m365-message-extension/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/m365-message-extension/teamsapp.yml.tpl.mustache @@ -27,4 +27,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/message-extension-copilot/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/message-extension-copilot/teamsapp.yml.tpl.mustache index 042fd4632c..06ca6967e0 100644 --- a/templates/constraints/yml/templates/js/message-extension-copilot/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/message-extension-copilot/teamsapp.yml.tpl.mustache @@ -27,4 +27,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/message-extension/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/message-extension/teamsapp.yml.tpl.mustache index 042fd4632c..06ca6967e0 100644 --- a/templates/constraints/yml/templates/js/message-extension/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/message-extension/teamsapp.yml.tpl.mustache @@ -27,4 +27,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl.mustache index d9e389db78..ed4087be89 100644 --- a/templates/constraints/yml/templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl.mustache @@ -30,4 +30,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/non-sso-tab/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/non-sso-tab/teamsapp.yml.tpl.mustache index 1071c83009..bcfb2cd5bc 100644 --- a/templates/constraints/yml/templates/js/non-sso-tab/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/non-sso-tab/teamsapp.yml.tpl.mustache @@ -25,4 +25,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/notification-http-timer-trigger/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/notification-http-timer-trigger/teamsapp.yml.tpl.mustache index 7bdbe7038f..fe3ad205e4 100644 --- a/templates/constraints/yml/templates/js/notification-http-timer-trigger/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/notification-http-timer-trigger/teamsapp.yml.tpl.mustache @@ -25,4 +25,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/notification-http-trigger/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/notification-http-trigger/teamsapp.yml.tpl.mustache index 7bdbe7038f..fe3ad205e4 100644 --- a/templates/constraints/yml/templates/js/notification-http-trigger/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/notification-http-trigger/teamsapp.yml.tpl.mustache @@ -25,4 +25,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/notification-restify/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/notification-restify/teamsapp.yml.tpl.mustache index a70accea44..5fd6caf434 100644 --- a/templates/constraints/yml/templates/js/notification-restify/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/notification-restify/teamsapp.yml.tpl.mustache @@ -26,4 +26,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/notification-timer-trigger/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/notification-timer-trigger/teamsapp.yml.tpl.mustache index 7bdbe7038f..fe3ad205e4 100644 --- a/templates/constraints/yml/templates/js/notification-timer-trigger/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/notification-timer-trigger/teamsapp.yml.tpl.mustache @@ -25,4 +25,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl.mustache index 48c5a3dbbd..f42c50e51a 100644 --- a/templates/constraints/yml/templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl.mustache @@ -39,4 +39,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/js/workflow/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/js/workflow/teamsapp.yml.tpl.mustache index a70accea44..5fd6caf434 100644 --- a/templates/constraints/yml/templates/js/workflow/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/js/workflow/teamsapp.yml.tpl.mustache @@ -26,4 +26,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/api-message-extension-sso/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/api-message-extension-sso/teamsapp.yml.tpl.mustache index d0b79fb865..209e4cf3aa 100644 --- a/templates/constraints/yml/templates/ts/api-message-extension-sso/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/api-message-extension-sso/teamsapp.yml.tpl.mustache @@ -36,4 +36,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl.mustache index ca2cd4680c..f4d39182f2 100644 --- a/templates/constraints/yml/templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl.mustache @@ -32,4 +32,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/command-and-response/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/command-and-response/teamsapp.yml.tpl.mustache index 36e963a8d2..03f4030e96 100644 --- a/templates/constraints/yml/templates/ts/command-and-response/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/command-and-response/teamsapp.yml.tpl.mustache @@ -27,4 +27,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl.mustache index be85ec2b6c..692fb0bb91 100644 --- a/templates/constraints/yml/templates/ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl.mustache @@ -34,4 +34,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl.mustache index ca2cd4680c..f4d39182f2 100644 --- a/templates/constraints/yml/templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl.mustache @@ -32,4 +32,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/dashboard-tab/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/dashboard-tab/teamsapp.yml.tpl.mustache index 41957c316d..a105d2c323 100644 --- a/templates/constraints/yml/templates/ts/dashboard-tab/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/dashboard-tab/teamsapp.yml.tpl.mustache @@ -28,4 +28,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/default-bot-message-extension/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/default-bot-message-extension/teamsapp.yml.tpl.mustache index 0d9d74daf2..8eac84e749 100644 --- a/templates/constraints/yml/templates/ts/default-bot-message-extension/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/default-bot-message-extension/teamsapp.yml.tpl.mustache @@ -27,4 +27,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/default-bot/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/default-bot/teamsapp.yml.tpl.mustache index 2e8c3c895c..e0f34efa77 100644 --- a/templates/constraints/yml/templates/ts/default-bot/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/default-bot/teamsapp.yml.tpl.mustache @@ -27,4 +27,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/link-unfurling/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/link-unfurling/teamsapp.yml.tpl.mustache index 6c469929da..a49713c523 100644 --- a/templates/constraints/yml/templates/ts/link-unfurling/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/link-unfurling/teamsapp.yml.tpl.mustache @@ -28,4 +28,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/m365-message-extension/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/m365-message-extension/teamsapp.yml.tpl.mustache index d601f34979..af0f30a0d8 100644 --- a/templates/constraints/yml/templates/ts/m365-message-extension/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/m365-message-extension/teamsapp.yml.tpl.mustache @@ -28,4 +28,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/message-extension-copilot/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/message-extension-copilot/teamsapp.yml.tpl.mustache index d601f34979..af0f30a0d8 100644 --- a/templates/constraints/yml/templates/ts/message-extension-copilot/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/message-extension-copilot/teamsapp.yml.tpl.mustache @@ -28,4 +28,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/message-extension/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/message-extension/teamsapp.yml.tpl.mustache index 6c469929da..a49713c523 100644 --- a/templates/constraints/yml/templates/ts/message-extension/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/message-extension/teamsapp.yml.tpl.mustache @@ -28,4 +28,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl.mustache index 973441dd4e..e5cb6ac719 100644 --- a/templates/constraints/yml/templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl.mustache @@ -30,4 +30,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/non-sso-tab/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/non-sso-tab/teamsapp.yml.tpl.mustache index 36bf303f5d..67115a0db6 100644 --- a/templates/constraints/yml/templates/ts/non-sso-tab/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/non-sso-tab/teamsapp.yml.tpl.mustache @@ -26,4 +26,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/notification-http-timer-trigger/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/notification-http-timer-trigger/teamsapp.yml.tpl.mustache index 774172e109..39e4a4a645 100644 --- a/templates/constraints/yml/templates/ts/notification-http-timer-trigger/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/notification-http-timer-trigger/teamsapp.yml.tpl.mustache @@ -26,4 +26,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/notification-http-trigger/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/notification-http-trigger/teamsapp.yml.tpl.mustache index 774172e109..39e4a4a645 100644 --- a/templates/constraints/yml/templates/ts/notification-http-trigger/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/notification-http-trigger/teamsapp.yml.tpl.mustache @@ -26,4 +26,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/notification-restify/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/notification-restify/teamsapp.yml.tpl.mustache index 36e963a8d2..03f4030e96 100644 --- a/templates/constraints/yml/templates/ts/notification-restify/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/notification-restify/teamsapp.yml.tpl.mustache @@ -27,4 +27,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/notification-timer-trigger/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/notification-timer-trigger/teamsapp.yml.tpl.mustache index 774172e109..39e4a4a645 100644 --- a/templates/constraints/yml/templates/ts/notification-timer-trigger/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/notification-timer-trigger/teamsapp.yml.tpl.mustache @@ -26,4 +26,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl.mustache index 5b91a8d061..957f7f5689 100644 --- a/templates/constraints/yml/templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl.mustache @@ -40,4 +40,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} diff --git a/templates/constraints/yml/templates/ts/workflow/teamsapp.yml.tpl.mustache b/templates/constraints/yml/templates/ts/workflow/teamsapp.yml.tpl.mustache index 36e963a8d2..03f4030e96 100644 --- a/templates/constraints/yml/templates/ts/workflow/teamsapp.yml.tpl.mustache +++ b/templates/constraints/yml/templates/ts/workflow/teamsapp.yml.tpl.mustache @@ -27,4 +27,5 @@ publish: {{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}} {{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}} {{#teamsAppUpdate}} {{/teamsAppUpdate}} +{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}} {{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}} From 1a27b886fd33f05e47232b791f93414be2983060 Mon Sep 17 00:00:00 2001 From: Ning Liu Date: Fri, 29 Mar 2024 14:49:23 +0800 Subject: [PATCH 2/4] fix: apply contraints --- .../copilot-plugin-existing-api-api-key/teamsapp.yml.tpl | 5 +++++ .../common/copilot-plugin-existing-api/teamsapp.yml.tpl | 5 +++++ .../common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl | 5 +++++ templates/js/api-message-extension-sso/teamsapp.yml.tpl | 5 +++++ templates/js/api-plugin-from-scratch/teamsapp.yml.tpl | 5 +++++ templates/js/command-and-response/teamsapp.yml.tpl | 5 +++++ .../js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl | 5 +++++ templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl | 5 +++++ templates/js/dashboard-tab/teamsapp.yml.tpl | 5 +++++ templates/js/default-bot-message-extension/teamsapp.yml.tpl | 5 +++++ templates/js/default-bot/teamsapp.yml.tpl | 5 +++++ templates/js/link-unfurling/teamsapp.yml.tpl | 5 +++++ templates/js/m365-message-extension/teamsapp.yml.tpl | 5 +++++ templates/js/message-extension-copilot/teamsapp.yml.tpl | 5 +++++ templates/js/message-extension/teamsapp.yml.tpl | 5 +++++ templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl | 5 +++++ templates/js/non-sso-tab/teamsapp.yml.tpl | 5 +++++ .../js/notification-http-timer-trigger/teamsapp.yml.tpl | 5 +++++ templates/js/notification-http-trigger/teamsapp.yml.tpl | 5 +++++ templates/js/notification-restify/teamsapp.yml.tpl | 5 +++++ templates/js/notification-timer-trigger/teamsapp.yml.tpl | 5 +++++ templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl | 5 +++++ templates/js/workflow/teamsapp.yml.tpl | 5 +++++ templates/ts/api-message-extension-sso/teamsapp.yml.tpl | 5 +++++ templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl | 5 +++++ templates/ts/command-and-response/teamsapp.yml.tpl | 5 +++++ .../ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl | 5 +++++ templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl | 5 +++++ templates/ts/dashboard-tab/teamsapp.yml.tpl | 5 +++++ templates/ts/default-bot-message-extension/teamsapp.yml.tpl | 5 +++++ templates/ts/default-bot/teamsapp.yml.tpl | 5 +++++ templates/ts/link-unfurling/teamsapp.yml.tpl | 5 +++++ templates/ts/m365-message-extension/teamsapp.yml.tpl | 5 +++++ templates/ts/message-extension-copilot/teamsapp.yml.tpl | 5 +++++ templates/ts/message-extension/teamsapp.yml.tpl | 5 +++++ templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl | 5 +++++ templates/ts/non-sso-tab/teamsapp.yml.tpl | 5 +++++ .../ts/notification-http-timer-trigger/teamsapp.yml.tpl | 5 +++++ templates/ts/notification-http-trigger/teamsapp.yml.tpl | 5 +++++ templates/ts/notification-restify/teamsapp.yml.tpl | 5 +++++ templates/ts/notification-timer-trigger/teamsapp.yml.tpl | 5 +++++ templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl | 5 +++++ templates/ts/workflow/teamsapp.yml.tpl | 5 +++++ 43 files changed, 215 insertions(+) diff --git a/templates/common/copilot-plugin-existing-api-api-key/teamsapp.yml.tpl b/templates/common/copilot-plugin-existing-api-api-key/teamsapp.yml.tpl index 322cd6b3b6..bfd4549f1d 100644 --- a/templates/common/copilot-plugin-existing-api-api-key/teamsapp.yml.tpl +++ b/templates/common/copilot-plugin-existing-api-api-key/teamsapp.yml.tpl @@ -92,6 +92,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/common/copilot-plugin-existing-api/teamsapp.yml.tpl b/templates/common/copilot-plugin-existing-api/teamsapp.yml.tpl index 244da0baad..799e2ea8dc 100644 --- a/templates/common/copilot-plugin-existing-api/teamsapp.yml.tpl +++ b/templates/common/copilot-plugin-existing-api/teamsapp.yml.tpl @@ -78,6 +78,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl b/templates/common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl index 244da0baad..799e2ea8dc 100644 --- a/templates/common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl +++ b/templates/common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl @@ -78,6 +78,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/api-message-extension-sso/teamsapp.yml.tpl b/templates/js/api-message-extension-sso/teamsapp.yml.tpl index 3cbad35f50..64879f968f 100644 --- a/templates/js/api-message-extension-sso/teamsapp.yml.tpl +++ b/templates/js/api-message-extension-sso/teamsapp.yml.tpl @@ -161,6 +161,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/api-plugin-from-scratch/teamsapp.yml.tpl b/templates/js/api-plugin-from-scratch/teamsapp.yml.tpl index 774e9b23e6..707b6528d8 100644 --- a/templates/js/api-plugin-from-scratch/teamsapp.yml.tpl +++ b/templates/js/api-plugin-from-scratch/teamsapp.yml.tpl @@ -129,6 +129,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/command-and-response/teamsapp.yml.tpl b/templates/js/command-and-response/teamsapp.yml.tpl index a675d8dcc4..9811a9b9fa 100644 --- a/templates/js/command-and-response/teamsapp.yml.tpl +++ b/templates/js/command-and-response/teamsapp.yml.tpl @@ -129,6 +129,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl b/templates/js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl index f56330ee9d..f823723087 100644 --- a/templates/js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl +++ b/templates/js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl @@ -145,6 +145,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl b/templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl index 774e9b23e6..707b6528d8 100644 --- a/templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl +++ b/templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl @@ -129,6 +129,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/dashboard-tab/teamsapp.yml.tpl b/templates/js/dashboard-tab/teamsapp.yml.tpl index eb278fcc12..c3057a5604 100644 --- a/templates/js/dashboard-tab/teamsapp.yml.tpl +++ b/templates/js/dashboard-tab/teamsapp.yml.tpl @@ -128,6 +128,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/default-bot-message-extension/teamsapp.yml.tpl b/templates/js/default-bot-message-extension/teamsapp.yml.tpl index 37b3b749cf..16e7963d54 100644 --- a/templates/js/default-bot-message-extension/teamsapp.yml.tpl +++ b/templates/js/default-bot-message-extension/teamsapp.yml.tpl @@ -129,6 +129,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/default-bot/teamsapp.yml.tpl b/templates/js/default-bot/teamsapp.yml.tpl index 37b3b749cf..16e7963d54 100644 --- a/templates/js/default-bot/teamsapp.yml.tpl +++ b/templates/js/default-bot/teamsapp.yml.tpl @@ -129,6 +129,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/link-unfurling/teamsapp.yml.tpl b/templates/js/link-unfurling/teamsapp.yml.tpl index f889c67b70..9b44bdbe15 100644 --- a/templates/js/link-unfurling/teamsapp.yml.tpl +++ b/templates/js/link-unfurling/teamsapp.yml.tpl @@ -139,6 +139,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/m365-message-extension/teamsapp.yml.tpl b/templates/js/m365-message-extension/teamsapp.yml.tpl index b634e1bf99..d8775d6119 100644 --- a/templates/js/m365-message-extension/teamsapp.yml.tpl +++ b/templates/js/m365-message-extension/teamsapp.yml.tpl @@ -139,6 +139,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/message-extension-copilot/teamsapp.yml.tpl b/templates/js/message-extension-copilot/teamsapp.yml.tpl index b634e1bf99..d8775d6119 100644 --- a/templates/js/message-extension-copilot/teamsapp.yml.tpl +++ b/templates/js/message-extension-copilot/teamsapp.yml.tpl @@ -139,6 +139,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/message-extension/teamsapp.yml.tpl b/templates/js/message-extension/teamsapp.yml.tpl index b634e1bf99..d8775d6119 100644 --- a/templates/js/message-extension/teamsapp.yml.tpl +++ b/templates/js/message-extension/teamsapp.yml.tpl @@ -139,6 +139,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl b/templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl index 2b6ebf3725..616c1e95ba 100644 --- a/templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl +++ b/templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl @@ -148,6 +148,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/non-sso-tab/teamsapp.yml.tpl b/templates/js/non-sso-tab/teamsapp.yml.tpl index 81f718b2db..f2a00b7402 100644 --- a/templates/js/non-sso-tab/teamsapp.yml.tpl +++ b/templates/js/non-sso-tab/teamsapp.yml.tpl @@ -124,6 +124,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/notification-http-timer-trigger/teamsapp.yml.tpl b/templates/js/notification-http-timer-trigger/teamsapp.yml.tpl index fcfcefa389..92d9ee9168 100644 --- a/templates/js/notification-http-timer-trigger/teamsapp.yml.tpl +++ b/templates/js/notification-http-timer-trigger/teamsapp.yml.tpl @@ -124,6 +124,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/notification-http-trigger/teamsapp.yml.tpl b/templates/js/notification-http-trigger/teamsapp.yml.tpl index fcfcefa389..92d9ee9168 100644 --- a/templates/js/notification-http-trigger/teamsapp.yml.tpl +++ b/templates/js/notification-http-trigger/teamsapp.yml.tpl @@ -124,6 +124,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/notification-restify/teamsapp.yml.tpl b/templates/js/notification-restify/teamsapp.yml.tpl index d690369df8..83ac9bae74 100644 --- a/templates/js/notification-restify/teamsapp.yml.tpl +++ b/templates/js/notification-restify/teamsapp.yml.tpl @@ -129,6 +129,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/notification-timer-trigger/teamsapp.yml.tpl b/templates/js/notification-timer-trigger/teamsapp.yml.tpl index fcfcefa389..92d9ee9168 100644 --- a/templates/js/notification-timer-trigger/teamsapp.yml.tpl +++ b/templates/js/notification-timer-trigger/teamsapp.yml.tpl @@ -124,6 +124,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl b/templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl index 9d85d2cfa8..429fe7b3cb 100644 --- a/templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl +++ b/templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl @@ -188,6 +188,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/js/workflow/teamsapp.yml.tpl b/templates/js/workflow/teamsapp.yml.tpl index d690369df8..83ac9bae74 100644 --- a/templates/js/workflow/teamsapp.yml.tpl +++ b/templates/js/workflow/teamsapp.yml.tpl @@ -129,6 +129,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/api-message-extension-sso/teamsapp.yml.tpl b/templates/ts/api-message-extension-sso/teamsapp.yml.tpl index 2548124de8..e37f721c99 100644 --- a/templates/ts/api-message-extension-sso/teamsapp.yml.tpl +++ b/templates/ts/api-message-extension-sso/teamsapp.yml.tpl @@ -166,6 +166,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl b/templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl index 7f1737126c..38c1204b4e 100644 --- a/templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl +++ b/templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl @@ -134,6 +134,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/command-and-response/teamsapp.yml.tpl b/templates/ts/command-and-response/teamsapp.yml.tpl index bc4c8c97be..01187d8632 100644 --- a/templates/ts/command-and-response/teamsapp.yml.tpl +++ b/templates/ts/command-and-response/teamsapp.yml.tpl @@ -133,6 +133,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl b/templates/ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl index 05995a77bf..c2a2f62f22 100644 --- a/templates/ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl +++ b/templates/ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl @@ -150,6 +150,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl b/templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl index 7f1737126c..38c1204b4e 100644 --- a/templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl +++ b/templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl @@ -134,6 +134,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/dashboard-tab/teamsapp.yml.tpl b/templates/ts/dashboard-tab/teamsapp.yml.tpl index 9076e12f71..00ea5c4c33 100644 --- a/templates/ts/dashboard-tab/teamsapp.yml.tpl +++ b/templates/ts/dashboard-tab/teamsapp.yml.tpl @@ -128,6 +128,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/default-bot-message-extension/teamsapp.yml.tpl b/templates/ts/default-bot-message-extension/teamsapp.yml.tpl index dab8a15ec4..244c9cdf2a 100644 --- a/templates/ts/default-bot-message-extension/teamsapp.yml.tpl +++ b/templates/ts/default-bot-message-extension/teamsapp.yml.tpl @@ -133,6 +133,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/default-bot/teamsapp.yml.tpl b/templates/ts/default-bot/teamsapp.yml.tpl index dab8a15ec4..244c9cdf2a 100644 --- a/templates/ts/default-bot/teamsapp.yml.tpl +++ b/templates/ts/default-bot/teamsapp.yml.tpl @@ -133,6 +133,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/link-unfurling/teamsapp.yml.tpl b/templates/ts/link-unfurling/teamsapp.yml.tpl index f4f04c1ca2..8df877f41b 100644 --- a/templates/ts/link-unfurling/teamsapp.yml.tpl +++ b/templates/ts/link-unfurling/teamsapp.yml.tpl @@ -143,6 +143,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/m365-message-extension/teamsapp.yml.tpl b/templates/ts/m365-message-extension/teamsapp.yml.tpl index f4f04c1ca2..8df877f41b 100644 --- a/templates/ts/m365-message-extension/teamsapp.yml.tpl +++ b/templates/ts/m365-message-extension/teamsapp.yml.tpl @@ -143,6 +143,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/message-extension-copilot/teamsapp.yml.tpl b/templates/ts/message-extension-copilot/teamsapp.yml.tpl index f4f04c1ca2..8df877f41b 100644 --- a/templates/ts/message-extension-copilot/teamsapp.yml.tpl +++ b/templates/ts/message-extension-copilot/teamsapp.yml.tpl @@ -143,6 +143,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/message-extension/teamsapp.yml.tpl b/templates/ts/message-extension/teamsapp.yml.tpl index f4f04c1ca2..8df877f41b 100644 --- a/templates/ts/message-extension/teamsapp.yml.tpl +++ b/templates/ts/message-extension/teamsapp.yml.tpl @@ -143,6 +143,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl b/templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl index 2f5da42b40..ea2294af6b 100644 --- a/templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl +++ b/templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl @@ -148,6 +148,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/non-sso-tab/teamsapp.yml.tpl b/templates/ts/non-sso-tab/teamsapp.yml.tpl index 9a9c2de803..a307b95f02 100644 --- a/templates/ts/non-sso-tab/teamsapp.yml.tpl +++ b/templates/ts/non-sso-tab/teamsapp.yml.tpl @@ -128,6 +128,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/notification-http-timer-trigger/teamsapp.yml.tpl b/templates/ts/notification-http-timer-trigger/teamsapp.yml.tpl index b6ef810ca8..1748ef1a57 100644 --- a/templates/ts/notification-http-timer-trigger/teamsapp.yml.tpl +++ b/templates/ts/notification-http-timer-trigger/teamsapp.yml.tpl @@ -128,6 +128,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/notification-http-trigger/teamsapp.yml.tpl b/templates/ts/notification-http-trigger/teamsapp.yml.tpl index b6ef810ca8..1748ef1a57 100644 --- a/templates/ts/notification-http-trigger/teamsapp.yml.tpl +++ b/templates/ts/notification-http-trigger/teamsapp.yml.tpl @@ -128,6 +128,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/notification-restify/teamsapp.yml.tpl b/templates/ts/notification-restify/teamsapp.yml.tpl index bc4c8c97be..01187d8632 100644 --- a/templates/ts/notification-restify/teamsapp.yml.tpl +++ b/templates/ts/notification-restify/teamsapp.yml.tpl @@ -133,6 +133,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/notification-timer-trigger/teamsapp.yml.tpl b/templates/ts/notification-timer-trigger/teamsapp.yml.tpl index b6ef810ca8..1748ef1a57 100644 --- a/templates/ts/notification-timer-trigger/teamsapp.yml.tpl +++ b/templates/ts/notification-timer-trigger/teamsapp.yml.tpl @@ -128,6 +128,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl b/templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl index d4bbc508e5..a055163df0 100644 --- a/templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl +++ b/templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl @@ -193,6 +193,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval diff --git a/templates/ts/workflow/teamsapp.yml.tpl b/templates/ts/workflow/teamsapp.yml.tpl index bc4c8c97be..01187d8632 100644 --- a/templates/ts/workflow/teamsapp.yml.tpl +++ b/templates/ts/workflow/teamsapp.yml.tpl @@ -133,6 +133,11 @@ publish: with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip + # Validate app package with the test cases Microsoft uses before they publish it + - uses: teamsApp/validateForTestCases + with: + # Relative path to this file. This is the path for built zip file. + appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Publish the app to # Teams Admin Center (https://admin.teams.microsoft.com/policies/manage-apps) # for review and approval From 26bf67f45d2637533472180ee92eaf1245536717 Mon Sep 17 00:00:00 2001 From: Ning Liu Date: Fri, 29 Mar 2024 15:52:13 +0800 Subject: [PATCH 3/4] fix: update action name --- .../common/copilot-plugin-existing-api-api-key/teamsapp.yml.tpl | 2 +- templates/common/copilot-plugin-existing-api/teamsapp.yml.tpl | 2 +- .../common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl | 2 +- .../yml/actions/teamsAppValidateForTestCases.mustache | 2 +- templates/js/api-message-extension-sso/teamsapp.yml.tpl | 2 +- templates/js/api-plugin-from-scratch/teamsapp.yml.tpl | 2 +- templates/js/command-and-response/teamsapp.yml.tpl | 2 +- .../js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl | 2 +- templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl | 2 +- templates/js/dashboard-tab/teamsapp.yml.tpl | 2 +- templates/js/default-bot-message-extension/teamsapp.yml.tpl | 2 +- templates/js/default-bot/teamsapp.yml.tpl | 2 +- templates/js/link-unfurling/teamsapp.yml.tpl | 2 +- templates/js/m365-message-extension/teamsapp.yml.tpl | 2 +- templates/js/message-extension-copilot/teamsapp.yml.tpl | 2 +- templates/js/message-extension/teamsapp.yml.tpl | 2 +- templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl | 2 +- templates/js/non-sso-tab/teamsapp.yml.tpl | 2 +- templates/js/notification-http-timer-trigger/teamsapp.yml.tpl | 2 +- templates/js/notification-http-trigger/teamsapp.yml.tpl | 2 +- templates/js/notification-restify/teamsapp.yml.tpl | 2 +- templates/js/notification-timer-trigger/teamsapp.yml.tpl | 2 +- templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl | 2 +- templates/js/workflow/teamsapp.yml.tpl | 2 +- templates/ts/api-message-extension-sso/teamsapp.yml.tpl | 2 +- templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl | 2 +- templates/ts/command-and-response/teamsapp.yml.tpl | 2 +- .../ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl | 2 +- templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl | 2 +- templates/ts/dashboard-tab/teamsapp.yml.tpl | 2 +- templates/ts/default-bot-message-extension/teamsapp.yml.tpl | 2 +- templates/ts/default-bot/teamsapp.yml.tpl | 2 +- templates/ts/link-unfurling/teamsapp.yml.tpl | 2 +- templates/ts/m365-message-extension/teamsapp.yml.tpl | 2 +- templates/ts/message-extension-copilot/teamsapp.yml.tpl | 2 +- templates/ts/message-extension/teamsapp.yml.tpl | 2 +- templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl | 2 +- templates/ts/non-sso-tab/teamsapp.yml.tpl | 2 +- templates/ts/notification-http-timer-trigger/teamsapp.yml.tpl | 2 +- templates/ts/notification-http-trigger/teamsapp.yml.tpl | 2 +- templates/ts/notification-restify/teamsapp.yml.tpl | 2 +- templates/ts/notification-timer-trigger/teamsapp.yml.tpl | 2 +- templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl | 2 +- templates/ts/workflow/teamsapp.yml.tpl | 2 +- 44 files changed, 44 insertions(+), 44 deletions(-) diff --git a/templates/common/copilot-plugin-existing-api-api-key/teamsapp.yml.tpl b/templates/common/copilot-plugin-existing-api-api-key/teamsapp.yml.tpl index bfd4549f1d..d39774ec18 100644 --- a/templates/common/copilot-plugin-existing-api-api-key/teamsapp.yml.tpl +++ b/templates/common/copilot-plugin-existing-api-api-key/teamsapp.yml.tpl @@ -93,7 +93,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/common/copilot-plugin-existing-api/teamsapp.yml.tpl b/templates/common/copilot-plugin-existing-api/teamsapp.yml.tpl index 799e2ea8dc..9b93ac8231 100644 --- a/templates/common/copilot-plugin-existing-api/teamsapp.yml.tpl +++ b/templates/common/copilot-plugin-existing-api/teamsapp.yml.tpl @@ -79,7 +79,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl b/templates/common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl index 799e2ea8dc..9b93ac8231 100644 --- a/templates/common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl +++ b/templates/common/copilot-plugin-from-oai-plugin/teamsapp.yml.tpl @@ -79,7 +79,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/constraints/yml/actions/teamsAppValidateForTestCases.mustache b/templates/constraints/yml/actions/teamsAppValidateForTestCases.mustache index 049209156c..cd37a13f85 100644 --- a/templates/constraints/yml/actions/teamsAppValidateForTestCases.mustache +++ b/templates/constraints/yml/actions/teamsAppValidateForTestCases.mustache @@ -1,5 +1,5 @@ # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip \ No newline at end of file diff --git a/templates/js/api-message-extension-sso/teamsapp.yml.tpl b/templates/js/api-message-extension-sso/teamsapp.yml.tpl index 64879f968f..8465dbd5e8 100644 --- a/templates/js/api-message-extension-sso/teamsapp.yml.tpl +++ b/templates/js/api-message-extension-sso/teamsapp.yml.tpl @@ -162,7 +162,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/api-plugin-from-scratch/teamsapp.yml.tpl b/templates/js/api-plugin-from-scratch/teamsapp.yml.tpl index 707b6528d8..209d22f804 100644 --- a/templates/js/api-plugin-from-scratch/teamsapp.yml.tpl +++ b/templates/js/api-plugin-from-scratch/teamsapp.yml.tpl @@ -130,7 +130,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/command-and-response/teamsapp.yml.tpl b/templates/js/command-and-response/teamsapp.yml.tpl index 9811a9b9fa..3f5dfb798b 100644 --- a/templates/js/command-and-response/teamsapp.yml.tpl +++ b/templates/js/command-and-response/teamsapp.yml.tpl @@ -130,7 +130,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl b/templates/js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl index f823723087..5f53b04b57 100644 --- a/templates/js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl +++ b/templates/js/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl @@ -146,7 +146,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl b/templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl index 707b6528d8..209d22f804 100644 --- a/templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl +++ b/templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl @@ -130,7 +130,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/dashboard-tab/teamsapp.yml.tpl b/templates/js/dashboard-tab/teamsapp.yml.tpl index c3057a5604..6467186716 100644 --- a/templates/js/dashboard-tab/teamsapp.yml.tpl +++ b/templates/js/dashboard-tab/teamsapp.yml.tpl @@ -129,7 +129,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/default-bot-message-extension/teamsapp.yml.tpl b/templates/js/default-bot-message-extension/teamsapp.yml.tpl index 16e7963d54..72135b3024 100644 --- a/templates/js/default-bot-message-extension/teamsapp.yml.tpl +++ b/templates/js/default-bot-message-extension/teamsapp.yml.tpl @@ -130,7 +130,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/default-bot/teamsapp.yml.tpl b/templates/js/default-bot/teamsapp.yml.tpl index 16e7963d54..72135b3024 100644 --- a/templates/js/default-bot/teamsapp.yml.tpl +++ b/templates/js/default-bot/teamsapp.yml.tpl @@ -130,7 +130,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/link-unfurling/teamsapp.yml.tpl b/templates/js/link-unfurling/teamsapp.yml.tpl index 9b44bdbe15..909e61831e 100644 --- a/templates/js/link-unfurling/teamsapp.yml.tpl +++ b/templates/js/link-unfurling/teamsapp.yml.tpl @@ -140,7 +140,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/m365-message-extension/teamsapp.yml.tpl b/templates/js/m365-message-extension/teamsapp.yml.tpl index d8775d6119..4b48498196 100644 --- a/templates/js/m365-message-extension/teamsapp.yml.tpl +++ b/templates/js/m365-message-extension/teamsapp.yml.tpl @@ -140,7 +140,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/message-extension-copilot/teamsapp.yml.tpl b/templates/js/message-extension-copilot/teamsapp.yml.tpl index d8775d6119..4b48498196 100644 --- a/templates/js/message-extension-copilot/teamsapp.yml.tpl +++ b/templates/js/message-extension-copilot/teamsapp.yml.tpl @@ -140,7 +140,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/message-extension/teamsapp.yml.tpl b/templates/js/message-extension/teamsapp.yml.tpl index d8775d6119..4b48498196 100644 --- a/templates/js/message-extension/teamsapp.yml.tpl +++ b/templates/js/message-extension/teamsapp.yml.tpl @@ -140,7 +140,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl b/templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl index 616c1e95ba..13091e884c 100644 --- a/templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl +++ b/templates/js/non-sso-tab-default-bot/teamsapp.yml.tpl @@ -149,7 +149,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/non-sso-tab/teamsapp.yml.tpl b/templates/js/non-sso-tab/teamsapp.yml.tpl index f2a00b7402..90dd928f92 100644 --- a/templates/js/non-sso-tab/teamsapp.yml.tpl +++ b/templates/js/non-sso-tab/teamsapp.yml.tpl @@ -125,7 +125,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/notification-http-timer-trigger/teamsapp.yml.tpl b/templates/js/notification-http-timer-trigger/teamsapp.yml.tpl index 92d9ee9168..8775cf5508 100644 --- a/templates/js/notification-http-timer-trigger/teamsapp.yml.tpl +++ b/templates/js/notification-http-timer-trigger/teamsapp.yml.tpl @@ -125,7 +125,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/notification-http-trigger/teamsapp.yml.tpl b/templates/js/notification-http-trigger/teamsapp.yml.tpl index 92d9ee9168..8775cf5508 100644 --- a/templates/js/notification-http-trigger/teamsapp.yml.tpl +++ b/templates/js/notification-http-trigger/teamsapp.yml.tpl @@ -125,7 +125,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/notification-restify/teamsapp.yml.tpl b/templates/js/notification-restify/teamsapp.yml.tpl index 83ac9bae74..9c0bb96728 100644 --- a/templates/js/notification-restify/teamsapp.yml.tpl +++ b/templates/js/notification-restify/teamsapp.yml.tpl @@ -130,7 +130,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/notification-timer-trigger/teamsapp.yml.tpl b/templates/js/notification-timer-trigger/teamsapp.yml.tpl index 92d9ee9168..8775cf5508 100644 --- a/templates/js/notification-timer-trigger/teamsapp.yml.tpl +++ b/templates/js/notification-timer-trigger/teamsapp.yml.tpl @@ -125,7 +125,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl b/templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl index 429fe7b3cb..dbe44e11f1 100644 --- a/templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl +++ b/templates/js/sso-tab-with-obo-flow/teamsapp.yml.tpl @@ -189,7 +189,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/js/workflow/teamsapp.yml.tpl b/templates/js/workflow/teamsapp.yml.tpl index 83ac9bae74..9c0bb96728 100644 --- a/templates/js/workflow/teamsapp.yml.tpl +++ b/templates/js/workflow/teamsapp.yml.tpl @@ -130,7 +130,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/api-message-extension-sso/teamsapp.yml.tpl b/templates/ts/api-message-extension-sso/teamsapp.yml.tpl index e37f721c99..bd424e1eb7 100644 --- a/templates/ts/api-message-extension-sso/teamsapp.yml.tpl +++ b/templates/ts/api-message-extension-sso/teamsapp.yml.tpl @@ -167,7 +167,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl b/templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl index 38c1204b4e..753a111397 100644 --- a/templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl +++ b/templates/ts/api-plugin-from-scratch/teamsapp.yml.tpl @@ -135,7 +135,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/command-and-response/teamsapp.yml.tpl b/templates/ts/command-and-response/teamsapp.yml.tpl index 01187d8632..2da1aa31ae 100644 --- a/templates/ts/command-and-response/teamsapp.yml.tpl +++ b/templates/ts/command-and-response/teamsapp.yml.tpl @@ -134,7 +134,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl b/templates/ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl index c2a2f62f22..80fdb81f9b 100644 --- a/templates/ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl +++ b/templates/ts/copilot-plugin-from-scratch-api-key/teamsapp.yml.tpl @@ -151,7 +151,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl b/templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl index 38c1204b4e..753a111397 100644 --- a/templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl +++ b/templates/ts/copilot-plugin-from-scratch/teamsapp.yml.tpl @@ -135,7 +135,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/dashboard-tab/teamsapp.yml.tpl b/templates/ts/dashboard-tab/teamsapp.yml.tpl index 00ea5c4c33..52c18dc5dc 100644 --- a/templates/ts/dashboard-tab/teamsapp.yml.tpl +++ b/templates/ts/dashboard-tab/teamsapp.yml.tpl @@ -129,7 +129,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/default-bot-message-extension/teamsapp.yml.tpl b/templates/ts/default-bot-message-extension/teamsapp.yml.tpl index 244c9cdf2a..8bb3fd2f1e 100644 --- a/templates/ts/default-bot-message-extension/teamsapp.yml.tpl +++ b/templates/ts/default-bot-message-extension/teamsapp.yml.tpl @@ -134,7 +134,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/default-bot/teamsapp.yml.tpl b/templates/ts/default-bot/teamsapp.yml.tpl index 244c9cdf2a..8bb3fd2f1e 100644 --- a/templates/ts/default-bot/teamsapp.yml.tpl +++ b/templates/ts/default-bot/teamsapp.yml.tpl @@ -134,7 +134,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/link-unfurling/teamsapp.yml.tpl b/templates/ts/link-unfurling/teamsapp.yml.tpl index 8df877f41b..31a9606f3f 100644 --- a/templates/ts/link-unfurling/teamsapp.yml.tpl +++ b/templates/ts/link-unfurling/teamsapp.yml.tpl @@ -144,7 +144,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/m365-message-extension/teamsapp.yml.tpl b/templates/ts/m365-message-extension/teamsapp.yml.tpl index 8df877f41b..31a9606f3f 100644 --- a/templates/ts/m365-message-extension/teamsapp.yml.tpl +++ b/templates/ts/m365-message-extension/teamsapp.yml.tpl @@ -144,7 +144,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/message-extension-copilot/teamsapp.yml.tpl b/templates/ts/message-extension-copilot/teamsapp.yml.tpl index 8df877f41b..31a9606f3f 100644 --- a/templates/ts/message-extension-copilot/teamsapp.yml.tpl +++ b/templates/ts/message-extension-copilot/teamsapp.yml.tpl @@ -144,7 +144,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/message-extension/teamsapp.yml.tpl b/templates/ts/message-extension/teamsapp.yml.tpl index 8df877f41b..31a9606f3f 100644 --- a/templates/ts/message-extension/teamsapp.yml.tpl +++ b/templates/ts/message-extension/teamsapp.yml.tpl @@ -144,7 +144,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl b/templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl index ea2294af6b..626e82b35d 100644 --- a/templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl +++ b/templates/ts/non-sso-tab-default-bot/teamsapp.yml.tpl @@ -149,7 +149,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/non-sso-tab/teamsapp.yml.tpl b/templates/ts/non-sso-tab/teamsapp.yml.tpl index a307b95f02..425fad7e91 100644 --- a/templates/ts/non-sso-tab/teamsapp.yml.tpl +++ b/templates/ts/non-sso-tab/teamsapp.yml.tpl @@ -129,7 +129,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/notification-http-timer-trigger/teamsapp.yml.tpl b/templates/ts/notification-http-timer-trigger/teamsapp.yml.tpl index 1748ef1a57..b466461549 100644 --- a/templates/ts/notification-http-timer-trigger/teamsapp.yml.tpl +++ b/templates/ts/notification-http-timer-trigger/teamsapp.yml.tpl @@ -129,7 +129,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/notification-http-trigger/teamsapp.yml.tpl b/templates/ts/notification-http-trigger/teamsapp.yml.tpl index 1748ef1a57..b466461549 100644 --- a/templates/ts/notification-http-trigger/teamsapp.yml.tpl +++ b/templates/ts/notification-http-trigger/teamsapp.yml.tpl @@ -129,7 +129,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/notification-restify/teamsapp.yml.tpl b/templates/ts/notification-restify/teamsapp.yml.tpl index 01187d8632..2da1aa31ae 100644 --- a/templates/ts/notification-restify/teamsapp.yml.tpl +++ b/templates/ts/notification-restify/teamsapp.yml.tpl @@ -134,7 +134,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/notification-timer-trigger/teamsapp.yml.tpl b/templates/ts/notification-timer-trigger/teamsapp.yml.tpl index 1748ef1a57..b466461549 100644 --- a/templates/ts/notification-timer-trigger/teamsapp.yml.tpl +++ b/templates/ts/notification-timer-trigger/teamsapp.yml.tpl @@ -129,7 +129,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl b/templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl index a055163df0..317d1e7f52 100644 --- a/templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl +++ b/templates/ts/sso-tab-with-obo-flow/teamsapp.yml.tpl @@ -194,7 +194,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip diff --git a/templates/ts/workflow/teamsapp.yml.tpl b/templates/ts/workflow/teamsapp.yml.tpl index 01187d8632..2da1aa31ae 100644 --- a/templates/ts/workflow/teamsapp.yml.tpl +++ b/templates/ts/workflow/teamsapp.yml.tpl @@ -134,7 +134,7 @@ publish: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip # Validate app package with the test cases Microsoft uses before they publish it - - uses: teamsApp/validateForTestCases + - uses: teamsApp/validateWithTestCases with: # Relative path to this file. This is the path for built zip file. appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip From a95368e3bc6b737c1fb2f9a2a19b3aa0e164edc6 Mon Sep 17 00:00:00 2001 From: Ning Liu Date: Mon, 1 Apr 2024 15:01:39 +0800 Subject: [PATCH 4/4] fix: duplicate logs --- .../src/component/driver/teamsApp/validateTestCases.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/packages/fx-core/src/component/driver/teamsApp/validateTestCases.ts b/packages/fx-core/src/component/driver/teamsApp/validateTestCases.ts index a4c1c952b5..bd200992fc 100644 --- a/packages/fx-core/src/component/driver/teamsApp/validateTestCases.ts +++ b/packages/fx-core/src/component/driver/teamsApp/validateTestCases.ts @@ -120,13 +120,6 @@ export class ValidateWithTestCasesDriver implements StepDriver { ]; context.ui?.showMessage("info", message, false); } else { - const message = getLocalizedString( - "driver.teamsApp.progressBar.validateWithTestCases.step", - response.status, - `${getAppStudioEndpoint()}/apps/${manifest.id}/app-validation` - ); - context.logProvider.info(message); - // Do not await the final validation result, return immediately void this.runningBackgroundJob(args, context, appStudioToken, response, manifest.id); } @@ -170,13 +163,13 @@ export class ValidateWithTestCasesDriver implements StepDriver { resultResp.status !== AsyncAppValidationStatus.Completed && resultResp.status !== AsyncAppValidationStatus.Aborted ) { - await waitSeconds(CEHCK_VALIDATION_RESULTS_INTERVAL_SECONDS); const message = getLocalizedString( "driver.teamsApp.progressBar.validateWithTestCases.step", resultResp.status, validationRequestListUrl ); context.logProvider.info(message); + await waitSeconds(CEHCK_VALIDATION_RESULTS_INTERVAL_SECONDS); resultResp = await AppStudioClient.getAppValidationById( resultResp.appValidationId, appStudioToken