From 7be06410270442d5e4d7b56537e6367b4a909a16 Mon Sep 17 00:00:00 2001 From: yashmantri Date: Mon, 9 Sep 2024 20:42:30 +0530 Subject: [PATCH] TP-71465 | Error handling in generate apk action --- .github/workflows/newBuild.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/newBuild.yml b/.github/workflows/newBuild.yml index 019146ca..86bf2fa9 100644 --- a/.github/workflows/newBuild.yml +++ b/.github/workflows/newBuild.yml @@ -132,6 +132,8 @@ jobs: apk_path="./android/app/build/outputs/apk/${{ github.event.inputs.flavor || inputs.flavor }}${{github.event.inputs.environment || inputs.environment}}/${{github.event.inputs.type || inputs.type}}/app-${{ github.event.inputs.flavor || inputs.flavor }}${{github.event.inputs.environment || inputs.environment}}-release.apk" + echo "$apk_path" + # Check if APK exists, exit if not if [ ! -f "$apk_path" ]; then echo "Error: APK file not found at $apk_path"