v4.8.1 #75
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: '16.x' | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '2.7.7' # Not needed with a .ruby-version file | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- 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}} |