Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add teamsApp/validateForTestCases action to publish lifecycle #11225

Draft
wants to merge 5 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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/validateWithTestCases
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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/validateWithTestCases
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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/validateWithTestCases
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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Validate app package with the test cases Microsoft uses before they publish it
- uses: teamsApp/validateWithTestCases
with:
# Relative path to this file. This is the path for built zip file.
appPackagePath: ./appPackage/build/appPackage.${{TEAMSFX_ENV}}.zip
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ publish:
{{#teamsAppZipAppPackage}} {{/teamsAppZipAppPackage}}
{{#teamsAppValidateAppPackage}} {{/teamsAppValidateAppPackage}}
{{#teamsAppUpdate}} {{/teamsAppUpdate}}
{{#teamsAppValidateForTestCases}} {{/teamsAppValidateForTestCases}}
{{#teamsAppPublishAppPackage}} {{/teamsAppPublishAppPackage}}
5 changes: 5 additions & 0 deletions templates/js/api-message-extension-sso/teamsapp.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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/validateWithTestCases
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
Expand Down
5 changes: 5 additions & 0 deletions templates/js/api-plugin-from-scratch/teamsapp.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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/validateWithTestCases
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
Expand Down
5 changes: 5 additions & 0 deletions templates/js/command-and-response/teamsapp.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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/validateWithTestCases
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,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/validateWithTestCases
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
Expand Down
5 changes: 5 additions & 0 deletions templates/js/copilot-plugin-from-scratch/teamsapp.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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/validateWithTestCases
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
Expand Down