ci: allow flavored APK output in android debug verification step
This commit is contained in:
parent
3ba94777a1
commit
28dc54a0c5
|
|
@ -159,6 +159,9 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if [ -f "build/app/outputs/flutter-apk/app-production-debug.apk" ] && [ ! -f "build/app/outputs/flutter-apk/app-debug.apk" ]; then
|
||||
cp "build/app/outputs/flutter-apk/app-production-debug.apk" "build/app/outputs/flutter-apk/app-debug.apk"
|
||||
fi
|
||||
APK="build/app/outputs/flutter-apk/app-debug.apk"
|
||||
test -s "$APK"
|
||||
file "$APK"
|
||||
|
|
@ -296,6 +299,13 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if [ -f "build/app/outputs/flutter-apk/app-production-release.apk" ] && [ ! -f "build/app/outputs/flutter-apk/app-release.apk" ]; then
|
||||
cp "build/app/outputs/flutter-apk/app-production-release.apk" "build/app/outputs/flutter-apk/app-release.apk"
|
||||
fi
|
||||
if [ -f "build/app/outputs/bundle/productionRelease/app-production-release.aab" ] && [ ! -f "build/app/outputs/bundle/release/app-release.aab" ]; then
|
||||
mkdir -p "build/app/outputs/bundle/release"
|
||||
cp "build/app/outputs/bundle/productionRelease/app-production-release.aab" "build/app/outputs/bundle/release/app-release.aab"
|
||||
fi
|
||||
APK="build/app/outputs/flutter-apk/app-release.apk"
|
||||
AAB="build/app/outputs/bundle/release/app-release.aab"
|
||||
test -s "$APK"
|
||||
|
|
|
|||
Loading…
Reference in New Issue