Skip to content

Commit

Permalink
upload aab artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sidhdhi-p committed Jun 19, 2024
1 parent 9fc7f3a commit f33bb81
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,14 @@ 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
cd ../style && flutter clean && flutter pub get
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 }}
Expand All @@ -75,12 +74,18 @@ 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
with:
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
7 changes: 1 addition & 6 deletions .github/workflows/android_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit f33bb81

Please sign in to comment.