From 5b40113496004ae04d27f5ea3c65500749beee64 Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Wed, 15 Feb 2023 15:11:04 +0300 Subject: [PATCH] moved upload to build job --- .github/workflows/cd.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index cfd34f3..e8323d3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -36,13 +36,7 @@ jobs: - name: Build Apk run: flutter build apk --flavor dev --dart-define cameraPreviewAspectRatio=2/3 -t lib/main_dev.dart - upload: - needs: build - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - uses: actions/upload-artifact@v3 - with: - name: m3_lightmeter.apk - path: build/app/outputs/flutter-apk/app-dev-release.apk \ No newline at end of file + - uses: actions/upload-artifact@v3 + with: + name: m3_lightmeter.apk + path: build/app/outputs/flutter-apk/app-dev-release.apk