From 1ac9fd66956f7c23b975521593bba8168468308a Mon Sep 17 00:00:00 2001 From: Balaga Gayatri Date: Wed, 19 Jan 2022 22:54:29 +0530 Subject: [PATCH 1/2] Update main.ts --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 7de834fb0..616b3ddc1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -208,10 +208,10 @@ async function main() { } catch (error) { if (!isAzCLISuccess) { - core.setFailed("Az CLI Login failed. Please check the credentials. For more information refer https://aka.ms/create-secrets-for-GitHub-workflows"); + 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. For more information refer https://aka.ms/create-secrets-for-GitHub-workflows"`); + 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"`); } } finally { From 4c79ffc97107d55a9119b9f2f159de077505a3e9 Mon Sep 17 00:00:00 2001 From: Balaga Gayatri Date: Wed, 19 Jan 2022 22:54:56 +0530 Subject: [PATCH 2/2] Update main.js --- lib/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.js b/lib/main.js index e43867f03..42ab22d5b 100644 --- a/lib/main.js +++ b/lib/main.js @@ -213,10 +213,10 @@ function main() { } catch (error) { if (!isAzCLISuccess) { - core.setFailed("Az CLI Login failed. Please check the credentials. For more information refer https://aka.ms/create-secrets-for-GitHub-workflows"); + 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. For more information refer https://aka.ms/create-secrets-for-GitHub-workflows"`); + 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"`); } } finally {