mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 23:40:41 +00:00
recursive: false
This commit is contained in:
parent
b65dae3135
commit
236663d0b1
1 changed files with 10 additions and 3 deletions
13
.github/workflows/cd_prod.yml
vendored
13
.github/workflows/cd_prod.yml
vendored
|
@ -8,6 +8,10 @@ name: Build prod .aab & .apk
|
|||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
env:
|
||||
BUILD_ARGS: --release --flavor prod --dart-define cameraPreviewAspectRatio=2/3 -t lib/main_prod.dart
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-11
|
||||
|
@ -70,7 +74,7 @@ jobs:
|
|||
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
|
||||
run: flutter build apk $BUILD_ARGS
|
||||
|
||||
- name: Upload apk to artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -79,7 +83,7 @@ jobs:
|
|||
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
|
||||
run: flutter build appbundle $BUILD_ARGS
|
||||
|
||||
- name: Upload app bundle to artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -89,9 +93,12 @@ jobs:
|
|||
|
||||
- name: Zip merged_native_libs folder
|
||||
uses: vimtor/action-zip@v1.1
|
||||
env:
|
||||
PATH_TO_LIBS: build/app/intermediates/merged_native_libs/prodRelease/out/lib
|
||||
with:
|
||||
files: build/app/intermediates/merged_native_libs/prodRelease/out/lib/arm64-v8a/ build/app/intermediates/merged_native_libs/prodRelease/out/lib/armeabi-v7a/
|
||||
files: $PATH_TO_LIBS/arm64-v8a/ $PATH_TO_LIBS/armeabi-v7a/
|
||||
dest: merged_native_libs.zip
|
||||
recursive: false
|
||||
|
||||
- name: Upload merged_native_libs to artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
Loading…
Reference in a new issue