Android CI: Better APK name

This commit is contained in:
Vishesh Handa
2021-11-24 09:56:20 +01:00
parent 5d90067160
commit 1a08f07bff
2 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,7 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: APK
path: build/app/outputs/flutter-apk/app-prod-release.apk
path: "*.apk"
if-no-files-found: error
- name: Publish Alpha
run: cd android && fastlane alphaBuild

View File

@ -13,3 +13,6 @@ flutter build appbundle --flavor prod --build-number="$BUILD_NUM" --dart-define=
# Also building the apk, as it's useful for non Google Play users
flutter build apk --flavor prod --build-number="$BUILD_NUM" --dart-define=INSTALL_SOURCE=fdroid --verbose
BUILD_ID=$(make version | tail -n 1 | awk '{ print $4 }')
cp build/app/outputs/flutter-apk/app-prod-release.apk gitjournal-$BUILD_ID.apk