diff --git a/login/lib/main.js b/login/lib/main.js index bc1ebb5644a..c4570aec98d 100644 --- a/login/lib/main.js +++ b/login/lib/main.js @@ -49,6 +49,9 @@ function main() { console.log("Login failed. Please check the credentials."); core.setFailed(error); } + finally { + core.warning('This action is moved to azure/login repository, update your workflows to use the new action.'); + } }); } function throwIfError(resultOfToolExecution, errormsg) { diff --git a/login/src/main.ts b/login/src/main.ts index 307597c528a..7a6cf8cdb27 100644 --- a/login/src/main.ts +++ b/login/src/main.ts @@ -32,6 +32,9 @@ async function main() { console.log("Login failed. Please check the credentials."); core.setFailed(error); } + finally { + core.warning('This action is moved to azure/login repository, update your workflows to use the new action.'); + } } function throwIfError(resultOfToolExecution: IExecSyncResult, errormsg?: string) {