Bump app version #28
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: Create and Upload AAB to internal google play track. | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
build: | |
name: Apk uploading on Firebase App Distribution | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: 17 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '2.6' | |
bundler-cache: true | |
- name: Generate google-services.json file | |
run: echo ${{secrets.GOOGLE_SERVICES_KEY}} | base64 -d > app/google-services.json | |
- name: Generate service-account.json file | |
run: echo ${{secrets.SERVICES_ACCOUNT_KEY}} | base64 -d > service-account.json | |
- name: Generate .jks file | |
run: echo ${{secrets.ANDROID_SIGNING_KEY}} | base64 -d > keys/release.jks | |
- name: Upload AAB to Play Store | |
run: bundle exec fastlane internal | |
env: | |
ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }} | |
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} | |
ANDROID_SIGNING_KEY: ${{ secrets.ANDROID_SIGNING_KEY }} | |
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }} |