Build appbundle & apk

Build appbundle & apk

Renamed github workflows
This commit is contained in:
Vadim 2023-05-04 15:44:00 +02:00
parent 7a0b563d75
commit 34ea034e67
4 changed files with 12 additions and 4 deletions

View file

@ -3,7 +3,7 @@
# separate terms of service, privacy policy, and support # separate terms of service, privacy policy, and support
# documentation. # documentation.
name: Build APK name: Build .apk
on: on:
workflow_dispatch: workflow_dispatch:

View file

@ -3,7 +3,7 @@
# separate terms of service, privacy policy, and support # separate terms of service, privacy policy, and support
# documentation. # documentation.
name: Build Prod App Bundle name: Build prod .aab & .apk
on: on:
workflow_dispatch: workflow_dispatch:
@ -69,6 +69,15 @@ jobs:
flutter pub get flutter pub get
flutter pub run intl_utils:generate 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 - name: Build appbundle
run: flutter build appbundle --release --flavor prod --dart-define cameraPreviewAspectRatio=2/3 -t lib/main_prod.dart run: flutter build appbundle --release --flavor prod --dart-define cameraPreviewAspectRatio=2/3 -t lib/main_prod.dart

View file

@ -3,7 +3,7 @@
# separate terms of service, privacy policy, and support # separate terms of service, privacy policy, and support
# documentation. # documentation.
name: Pull Request check name: PR check
on: on:
push: push:

View file

@ -1,5 +1,4 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
import 'package:lightmeter/res/dimens.dart'; import 'package:lightmeter/res/dimens.dart';
class AnimatedDialog extends StatefulWidget { class AnimatedDialog extends StatefulWidget {