aantunovic / Firebase-Distribution-Github-Action

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

Home Page:https://www.tooploox.com/blog/custom-github-action-for-firebase-app-distribution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firebase App Distribution Github Action

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

Inputs

appId

Required App id can be found on the General Settings page

Either Firebase Token or Service Credentials File, one is enough.

token

Required Upload token - see Firebase CLI Reference (tldr; run firebase login:ci command to get your token).

serviceCredentialsFile

Required Service Credentials File - The path or HTTP URL to your service account private key JSON file. Required only if you use service account authentication.

file

Required Artifact to upload (.apk, .aab or .ipa)

groups

Distribution groups

releaseNotes

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

  • hash
  • author
  • message

releaseNotesFile

Specify the release note path to a plain text file.

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
      with:
        appId: ${{secrets.FIREBASE_APP_ID}}
        token: ${{secrets.FIREBASE_TOKEN}}
        groups: testers
        file: app/build/outputs/apk/release/app-release-unsigned.apk

About

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

https://www.tooploox.com/blog/custom-github-action-for-firebase-app-distribution

License:MIT License


Languages

Language:Shell 82.4%Language:Dockerfile 17.6%