generated from Real-Dev-Squad/website-template
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 250/UIEnhancement
- Loading branch information
Showing
7 changed files
with
29 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,16 +40,27 @@ jobs: | |
- name: Make Gradlew Executable | ||
run: cd android && chmod +x ./gradlew | ||
|
||
- name: build release | ||
run: cd android && ./gradlew assembleRelease | ||
- name: Build assets folder | ||
run: | | ||
cd android/app/src/main && | ||
if [ -d "assets" ]; then | ||
rm -r assets | ||
fi | ||
- name: Build release | ||
run: | | ||
mkdir -p android/app/src/main/assets && | ||
npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res && | ||
cd android && | ||
./gradlew assembleDebug | ||
- name: list files | ||
run: ls -lrt android/app/build/outputs/apk/release | ||
run: ls -lrt android/app/build/outputs/apk/debug | ||
|
||
- name: upload artifact to Firebase App Distribution | ||
uses: wzieba/[email protected] | ||
with: | ||
appId: ${{secrets.FIREBASE_APP_ID}} | ||
token: ${{secrets.FIREBASE_TOKEN}} | ||
groups: ${{secrets.GROUPS}} | ||
file: android/app/build/outputs/apk/release/app-release.apk | ||
file: android/app/build/outputs/apk/debug/app-debug.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters