From 75b0d8dc432cc1f51c5f0580f038392b486ab4c1 Mon Sep 17 00:00:00 2001 From: Vadim Date: Thu, 4 May 2023 15:44:00 +0200 Subject: [PATCH] Build appbundle & apk --- .github/workflows/cd_prod.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/cd_prod.yml b/.github/workflows/cd_prod.yml index 594be1d..7348ede 100644 --- a/.github/workflows/cd_prod.yml +++ b/.github/workflows/cd_prod.yml @@ -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