minor update to test removal of flavours #3
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: Firebase app distribution - Develop | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up ruby env | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7.2 | |
bundler-cache: true | |
- name: Run tests | |
run: bundle exec fastlane android test | |
- name: Decode Service Account Key JSON File | |
uses: timheuer/base64-to-file@v1 | |
id: service_account_json_file | |
with: | |
fileName: "serviceAccount.json" | |
encodedString: ${{ secrets.FIREBASE_LOGIN_CREDENTIALS }} | |
- name: Build & deploy Android to Firebase app distribution | |
run: bundle exec fastlane android firebase_release | |
env: | |
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }} | |
FIREBASE_LOGIN_CREDENTIALS: ${{ steps.service_account_json_file.outputs.filePath }} | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: assets | |
path: | | |
${{ github.workspace }}/app/build/outputs/bundle/release |