42
42
run : ./gradlew packageReleaseDistributionForCurrentOS
43
43
44
44
app_build :
45
- name : Github, Firebase, and Sentry Release
45
+ name : Github, Firebase Release
46
46
needs : [ build_desktop_app ]
47
47
runs-on : ubuntu-latest
48
48
permissions :
76
76
keystore : ${{ secrets.ORIGINAL_KEYSTORE_FILE }}
77
77
google-services : ${{ secrets.GOOGLESERVICES }}
78
78
playstore-creds : ${{ secrets.PLAYSTORECREDS }}
79
+ firebase-creds : ${{ secrets.FIREBASECREDS }}
79
80
80
81
- uses : ./.github/actions/create-release-notes
81
82
name : Create Release Notes
@@ -121,6 +122,15 @@ jobs:
121
122
./mifospay-desktop/build/compose/binaries/main-release/msi/*.msi
122
123
./mifospay-desktop/build/compose/binaries/main-release/deb/*.deb
123
124
./mifospay-desktop/build/compose/binaries/main-release/dmg/*.dmg
125
+
126
+
127
+ - name : ☁️ Deploy to Firebase
128
+ env :
129
+ KEYSTORE_PASSWORD : ${{ secrets.ORIGINAL_KEYSTORE_FILE_PASSWORD }}
130
+ KEYSTORE_ALIAS : ${{ secrets.ORIGINAL_KEYSTORE_ALIAS }}
131
+ KEYSTORE_ALIAS_PASSWORD : ${{ secrets.ORIGINAL_KEYSTORE_ALIAS_PASSWORD }}
132
+ VERSION_CODE : ${{ steps.rel_number.outputs.version-code }}
133
+ run : ./gradlew appDistributionUploadProdRelease --no-configuration-cache
124
134
125
135
- name : Print `git status`
126
136
run : git status
@@ -161,6 +171,7 @@ jobs:
161
171
keystore : ${{ secrets.UPLOAD_KEYSTORE_FILE }}
162
172
google-services : ${{ secrets.GOOGLESERVICES }}
163
173
playstore-creds : ${{ secrets.PLAYSTORECREDS }}
174
+ firebase-creds : ${{ secrets.FIREBASECREDS }}
164
175
165
176
- uses : ./.github/actions/create-release-notes
166
177
name : Create Release Notes
@@ -177,6 +188,12 @@ jobs:
177
188
run : |
178
189
./gradlew :mifospay-android:bundleRelease
179
190
191
+ - name : Archive Build
192
+ uses : actions/upload-artifact@v4
193
+ with :
194
+ name : release-aabs
195
+ path : ./**/*.aab
196
+
180
197
- name : Deploy to Playstore Internal
181
198
run : bundle exec fastlane deploy_internal
182
199
0 commit comments