From f33bb81416e434fb1141f59768a932bc2cf7ba26 Mon Sep 17 00:00:00 2001 From: sidhdhi canopas Date: Wed, 19 Jun 2024 11:23:16 +0530 Subject: [PATCH] upload aab artifact --- .github/workflows/android_build.yml | 11 ++++++++--- .github/workflows/android_deploy.yml | 7 +------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/android_build.yml b/.github/workflows/android_build.yml index 1a19fb5e..64566233 100644 --- a/.github/workflows/android_build.yml +++ b/.github/workflows/android_build.yml @@ -44,7 +44,6 @@ jobs: echo $FIREBASE_OPTIONS_BASE64 | base64 -di > lib/firebase_options.dart echo $GOOGLE_SERVICES_JSON_BASE64 | base64 -di > android/app/google-services.json - - name: Install Dependencies run: | cd data && flutter clean && flutter pub get @@ -52,7 +51,7 @@ jobs: cd ../khelo && flutter clean && flutter pub get cd .. - - name: Deploy Internally + - name: Generate Build env: APKSIGN_KEYSTORE_BASE64: ${{ secrets.APKSIGN_KEYSTORE_BASE64 }} APKSIGN_KEYSTORE_PASS: ${{ secrets.APKSIGN_KEYSTORE_PASS }} @@ -75,6 +74,7 @@ jobs: cd .. mv khelo/build/app/outputs/apk/release/Khelo*.apk . + mv khelo/build/app/outputs/bundle/release/app-release.aab . - name: Upload APK Artifact uses: actions/upload-artifact@v4 @@ -82,5 +82,10 @@ jobs: name: Khelo APK path: Khelo*.apk retention-days: 2 - + - name: Upload AAB Artifact + uses: actions/upload-artifact@v4 + with: + name: Khelo AAB + path: app-release.aab + retention-days: 2 diff --git a/.github/workflows/android_deploy.yml b/.github/workflows/android_deploy.yml index 595ab473..28f34526 100644 --- a/.github/workflows/android_deploy.yml +++ b/.github/workflows/android_deploy.yml @@ -44,7 +44,6 @@ jobs: echo $FIREBASE_OPTIONS_BASE64 | base64 -di > lib/firebase_options.dart echo $GOOGLE_SERVICES_JSON_BASE64 | base64 -di > android/app/google-services.json - - name: Install Dependencies run: | cd data && flutter clean && flutter pub get @@ -77,8 +76,4 @@ jobs: bundle install echo $APP_PLAY_SERVICE_JSON | base64 -di > google_play_api_key.json bundle exec fastlane supply init --track internal - bundle exec fastlane upload_internal versionName:$buildName versionCode:$buildNumber - - - - + bundle exec fastlane upload_internal versionName:$buildName versionCode:$buildNumber \ No newline at end of file