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}`); } }