From 84242fa477e6a26910fd7c113a0e2b823b882727 Mon Sep 17 00:00:00 2001 From: Sunday Ndu Date: Sun, 13 Aug 2023 14:54:15 +0200 Subject: [PATCH] Log build gradle path Log the path for a failed version code and version name search --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 358f64a..1b7d1d6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -58,7 +58,7 @@ async function main(): Promise { setEnvironmentVariable('ANDROID_VERSION_CODE', code); core.info(`Exposing ANDROID_VERSION_CODE with this value: ${code}.`); } else { - failWithMessage('Version code could not be found in the file'); + failWithMessage(`Version code could not be found in the file: ${buildGradlePath}`); } } @@ -69,7 +69,7 @@ async function main(): Promise { setEnvironmentVariable('ANDROID_VERSION_NAME', name); core.info(`Exposing ANDROID_VERSION_NAME with this value: ${name}.`); } else { - failWithMessage('Version name could not be found in the file'); + failWithMessage(`Version name could not be found in the file: ${buildGradlePath}`); } }