mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 23:10:40 +00:00
Build appbundle & apk
Build appbundle & apk Renamed github workflows
This commit is contained in:
parent
7a0b563d75
commit
34ea034e67
4 changed files with 12 additions and 4 deletions
2
.github/workflows/cd_dev.yml
vendored
2
.github/workflows/cd_dev.yml
vendored
|
@ -3,7 +3,7 @@
|
|||
# separate terms of service, privacy policy, and support
|
||||
# documentation.
|
||||
|
||||
name: Build APK
|
||||
name: Build .apk
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
|
11
.github/workflows/cd_prod.yml
vendored
11
.github/workflows/cd_prod.yml
vendored
|
@ -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
|
||||
|
||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -3,7 +3,7 @@
|
|||
# separate terms of service, privacy policy, and support
|
||||
# documentation.
|
||||
|
||||
name: Pull Request check
|
||||
name: PR check
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/scheduler.dart';
|
||||
import 'package:lightmeter/res/dimens.dart';
|
||||
|
||||
class AnimatedDialog extends StatefulWidget {
|
||||
|
|
Loading…
Reference in a new issue