feat: Updated react native #72
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
name: Deploy android to Google Play | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
install-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install npm dependencies | |
run: | | |
yarn | |
- name: Build android aab | |
run: | | |
cd android | |
echo "MYAPP_UPLOAD_KEY_ALIAS=${{ secrets.MYAPP_UPLOAD_KEY_ALIAS }}" >> gradle.properties | |
echo "MYAPP_UPLOAD_STORE_FILE=${{ secrets.MYAPP_UPLOAD_STORE_FILE }}" >> gradle.properties | |
echo "MYAPP_UPLOAD_STORE_PASSWORD=${{ secrets.MYAPP_UPLOAD_STORE_PASSWORD }}" >> gradle.properties | |
echo "MYAPP_UPLOAD_KEY_PASSWORD=${{ secrets.MYAPP_UPLOAD_KEY_PASSWORD }}" >> gradle.properties | |
./gradlew bundleRelease | |
- name: upload bundle to Google Play | |
uses: r0adkll/upload-google-play@v1.0.19 | |
with: | |
serviceAccountJsonPlainText: ${{secrets.SERVICE_ACCOUNT_JSON}} | |
packageName: com.wordofgodforeachday | |
releaseFiles: android/app/build/outputs/bundle/release/*.aab | |
track: production | |
#userFraction: 0.33 | |
whatsNewDirectory: whatsnew | |
#mappingFile: /app/build/outputs/mapping/release/mapping.txt | |
status: completed |