Skip to content

Commit

Permalink
adding deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
suaggar committed Oct 21, 2019
1 parent 340d4e2 commit d7d0aa5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions login/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
3 changes: 3 additions & 0 deletions login/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d7d0aa5

Please sign in to comment.