v5.2.11 #133
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: Pre Release | |
on: | |
release: | |
types: [released] | |
workflow_dispatch: | |
jobs: | |
Build-and-Deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Decrypt Android keys | |
run: sh ./.github/scripts/decrypt_android_keys.sh | |
env: | |
RELEASE_KEYSTORE: ${{ secrets.RELEASE_KEYSTORE }} | |
RELEASE_KEYSTORE_PASSPHRASE: ${{ secrets.RELEASE_KEYSTORE_PASSPHRASE }} | |
SERVICE_ACCOUNT: ${{ secrets.SERVICE_ACCOUNT }} | |
SERVICE_ACCOUNT_PASSPHRASE: ${{ secrets.SERVICE_ACCOUNT_PASSPHRASE }} | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '18.x' | |
- name: Setup Yarn (v2 or later using Corepack) | |
run: | | |
corepack enable | |
corepack prepare yarn@4.4.1 --activate | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0.0' | |
bundler-cache: true | |
- name: Install packages | |
run: yarn | |
- name: Install Fastlane | |
run: gem install fastlane | |
- name: Upload to PlayStore | |
run: | | |
cd android | |
fastlane playstoreBeta RELEASE_KEYSTORE_PASSWORD:${{secrets.RELEASE_KEYSTORE_PASSWORD}} RELEASE_KEYSTORE_KEY_PASSWORD:${{secrets.RELEASE_KEYSTORE_KEY_PASSWORD}} RELEASE_KEYSTORE_ALIAS:${{secrets.RELEASE_KEYSTORE_ALIAS}} |