From c3bcffc0e47b2682619660e7da8893ca03812656 Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Fri, 17 Feb 2023 21:00:58 +0300 Subject: [PATCH] Update cd_dev.yml --- .github/workflows/cd_dev.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd_dev.yml b/.github/workflows/cd_dev.yml index 2b55e41..fff2023 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 Dev APK +name: Build APK on: workflow_dispatch: @@ -58,6 +58,8 @@ jobs: run: flutter build apk --release --flavor $FLAVOR --dart-define cameraPreviewAspectRatio=2/3 -t lib/main_$FLAVOR.dart - uses: actions/upload-artifact@v3 + env: + FLAVOR: ${{ github.event.inputs.flavor }} with: - name: m3_lightmeter.apk - path: build/app/outputs/flutter-apk/app-dev-release.apk + name: m3_lightmeter_$FLAVOR + path: build/app/outputs/flutter-apk/app-$FLAVOR-release.apk