forked from eatvio/eatvio_app
feat(ci): build test apk
This commit is contained in:
@@ -65,3 +65,13 @@ jobs:
|
||||
run: |
|
||||
touch .env
|
||||
flutter test
|
||||
|
||||
- name: Build apk
|
||||
run: flutter build apk
|
||||
|
||||
- name: Rename and move apk
|
||||
run: |
|
||||
TIMESTAMP=$(date +'%Y-%m-%d-%H-%M')
|
||||
APK_NAME="eatvio_app_${TIMESTAMP}.apk"
|
||||
mv build/app/outputs/flutter-apk/app-release.apk $APK_NAME
|
||||
echo "APK build finished $APK_NAME"
|
||||
Reference in New Issue
Block a user