diff --git a/.github/workflows/cd_dev.yml b/.github/workflows/cd_dev.yml index 0a8a466..d90d0fb 100644 --- a/.github/workflows/cd_dev.yml +++ b/.github/workflows/cd_dev.yml @@ -3,7 +3,7 @@ # separate terms of service, privacy policy, and support # documentation. -name: Build APK +name: Build .apk on: workflow_dispatch: diff --git a/.github/workflows/cd_prod.yml b/.github/workflows/cd_prod.yml index 594be1d..1213d7d 100644 --- a/.github/workflows/cd_prod.yml +++ b/.github/workflows/cd_prod.yml @@ -3,7 +3,7 @@ # separate terms of service, privacy policy, and support # documentation. -name: Build Prod App Bundle +name: Build prod .aab & .apk on: workflow_dispatch: @@ -69,6 +69,15 @@ jobs: flutter pub get flutter pub run intl_utils:generate + - name: Build apk + run: flutter build apk --release --flavor prod --dart-define cameraPreviewAspectRatio=2/3 -t lib/main_prod.dart + + - name: Upload apk to artifacts + uses: actions/upload-artifact@v3 + with: + name: m3_lightmeter_apk + path: build/app/outputs/flutter-apk/app-prod-release.apk + - name: Build appbundle run: flutter build appbundle --release --flavor prod --dart-define cameraPreviewAspectRatio=2/3 -t lib/main_prod.dart diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28c3401..470f160 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ # separate terms of service, privacy policy, and support # documentation. -name: Pull Request check +name: PR check on: push: diff --git a/lib/screens/metering/components/shared/readings_container/components/animated_dialog_picker/components/animated_dialog/widget_dialog_animated.dart b/lib/screens/metering/components/shared/readings_container/components/animated_dialog_picker/components/animated_dialog/widget_dialog_animated.dart index 4a506cc..42d1cb2 100644 --- a/lib/screens/metering/components/shared/readings_container/components/animated_dialog_picker/components/animated_dialog/widget_dialog_animated.dart +++ b/lib/screens/metering/components/shared/readings_container/components/animated_dialog_picker/components/animated_dialog/widget_dialog_animated.dart @@ -1,5 +1,4 @@ import 'package:flutter/material.dart'; -import 'package:flutter/scheduler.dart'; import 'package:lightmeter/res/dimens.dart'; class AnimatedDialog extends StatefulWidget {