TP-71465 | Error handling in generate apk action
This commit is contained in:
2
.github/workflows/newBuild.yml
vendored
2
.github/workflows/newBuild.yml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user