From 7a8b337c36f14c2438bd79fb697b9efe12f5625b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bedirhan=20Ayd=C4=B1n?= <58737803+bedirhanayydin@users.noreply.github.com> Date: Mon, 25 Dec 2023 16:03:42 +0300 Subject: [PATCH] Update cd.yml --- .github/workflows/cd.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 35c11a3..b4e49f5 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -24,6 +24,7 @@ jobs: # Only run this job if the "CI" workflow was successful if: ${{ github.event.workflow_run.conclusion == 'success' }} + steps: # Step 1: Checkout the repository - name: Checkout repository @@ -39,14 +40,10 @@ jobs: # Step 3: Install project dependencies - name: Install dependencies run: flutter pub get - - name: List directory contents - run: ls -R - # Step 4: Increment version code and version name - - name: Increment version and build release APK - run: | - chmod +x ./android/increment_version.sh - ./android/increment_version.sh - flutter build apk --release + + # Step 4: Build APK release + - name: Build APK release + run: flutter build apk --release # Step 5: Build APP bundle - name: Build APP bundle