feat(ci): build test apk

This commit is contained in:
mso7nueh
2024-06-19 16:38:18 +03:00
parent 55cb15896b
commit 657dfdc142

View File

@@ -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"