Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down