chore(deps): bump the all-dependencies group with 4 updates #210
Workflow file for this run
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: Play Store | |
on: | |
push: | |
jobs: | |
play-store: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Set up ruby env | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1.0 | |
bundler-cache: true | |
- name: Decode Service Account Key JSON File | |
uses: timheuer/base64-to-file@v1 | |
id: service_account_json_file | |
with: | |
fileName: "serviceAccount.json" | |
encodedString: ${{ secrets.PLAY_STORE_SERVICE_ACCOUNT_JSON }} | |
- name: Decode Keystore File | |
uses: timheuer/base64-to-file@v1 | |
id: android_keystore | |
with: | |
fileName: "android_keystore.keystore" | |
encodedString: ${{ secrets.PLAY_STORE_UPLOAD_KEYSTORE }} | |
- name: Build & validate Android release | |
id: validate-release | |
if: github.ref != 'refs/heads/main' | |
run: bundle exec fastlane android deploy dry_run:true | |
env: | |
STORE_FILE: ${{ steps.android_keystore.outputs.filePath }} | |
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }} | |
KEY_ALIAS: ${{ secrets.KEY_ALIAS}} | |
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} | |
ANDROID_JSON_KEY_FILE: ${{ steps.service_account_json_file.outputs.filePath }} | |
- name: Build & deploy Android release | |
if: github.ref == 'refs/heads/main' | |
run: bundle exec fastlane android deploy dry_run:false | |
env: | |
STORE_FILE: ${{ steps.android_keystore.outputs.filePath }} | |
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }} | |
KEY_ALIAS: ${{ secrets.KEY_ALIAS}} | |
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} | |
ANDROID_JSON_KEY_FILE: ${{ steps.service_account_json_file.outputs.filePath }} | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: release_aab | |
path: | | |
${{ github.workspace }}/app/build/outputs/bundle/release |