mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-04 00:58:59 +08:00
Android CI: Better APK name
This commit is contained in:
2
.github/workflows/android.yml
vendored
2
.github/workflows/android.yml
vendored
@ -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
|
||||
|
@ -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
|
Reference in New Issue
Block a user