From efd84dc1fa57092e55e1122479d5777fc97faf8b Mon Sep 17 00:00:00 2001 From: sgollapudi <85578033+sgollapudi77@users.noreply.github.com> Date: Fri, 13 Oct 2023 13:41:46 +0530 Subject: [PATCH] "add update version message" --- src/main.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.ts b/src/main.ts index e36a92020..4164057a7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -10,9 +10,15 @@ import { IAuthorizer } from 'azure-actions-webclient/Authorizer/IAuthorizer'; import { ValidatorFactory } from './ActionInputValidator/ValidatorFactory'; var prefix = !!process.env.AZURE_HTTP_USER_AGENT ? `${process.env.AZURE_HTTP_USER_AGENT}` : ""; +var updateVersionMessage = +"|------------------------------------------------------------|\n" + +"| Update available webapps-deploy@v2 --> webapps-deploy@v3 |\n" + +"| To update, change the version in your workflow file to @v3 |\n" + +"|------------------------------------------------------------|\n"; export async function main() { let isDeploymentSuccess: boolean = true; + core.info(updateVersionMessage); try { // Set user agent variable