/Firebase-Distribution-Github-Action

This action uploads artifacts (.apk or .ipa) to Firebase App Distribution.

Primary LanguageShellMIT LicenseMIT

Firebase App Distribution Github Action

This action uploads artifacts (.apk or .ipa) to Firebase App Distribution.

Inputs

appId

Required App id can be found on the General Settings page

token

Required Upload token - see Firebase CLI Reference

file

Required Artifact to upload (.apk or .ipa)

groups

Distribution groups

releaseNotes

Release notes visible on release page. If not specified, plugin will add last commit's

  • hash
  • author
  • message

debug

Flag that can be included to print verbose log output. Default value is false

Sample usage

name: Build & upload to Firebase App Distribution 

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - name: set up JDK 1.8
      uses: actions/setup-java@v1
      with:
        java-version: 1.8
    - name: build release 
      run: ./gradlew assembleRelease
    - name: upload artifact to Firebase App Distribution
      uses: wzieba/Firebase-Distribution-Github-Action@v1.1.1
      with:
        appId: ${{secrets.FIREBASE_APP_ID}}
        token: ${{secrets.FIREBASE_TOKEN}}
        groups: testers
        file: app/build/outputs/apk/release/app-release-unsigned.apk