mirror of
https://github.com/azure/login.git
synced 2026-06-09 10:47:09 +00:00
Update main.js
This commit is contained in:
parent
4e74765911
commit
bd142b6a01
1 changed files with 2 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ function main() {
|
|||
}
|
||||
}
|
||||
catch (error) {
|
||||
core.setFailed(`${error} Could not get ID token for authentication. Please make sure to give permissions to id-token in the workflow.`);
|
||||
core.error(`${error}. Could not get ID token for authentication. Please make sure to give write permissions to id-token in the workflow.`);
|
||||
}
|
||||
}
|
||||
// Attempting Az cli login
|
||||
|
|
@ -215,7 +215,7 @@ function main() {
|
|||
}
|
||||
catch (error) {
|
||||
if (!isAzCLISuccess) {
|
||||
core.setFailed(`Az CLI Login failed. Please check the credentials and make sure az is installed on the runner. For more information refer https://aka.ms/create-secrets-for-GitHub-workflows."${error}" `);
|
||||
core.setFailed(`Az CLI Login failed. Please check the credentials and make sure az is installed on the runner. For more information refer https://aka.ms/create-secrets-for-GitHub-workflows.`);
|
||||
}
|
||||
else {
|
||||
core.setFailed(`Azure PowerShell Login failed. Please check the credentials and make sure az is installed on the runner. For more information refer https://aka.ms/create-secrets-for-GitHub-workflows"`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue