Inspired by the existing action from wzieba
This action uploads artifacts (.apk or .ipa) to Firebase App Distribution.
Required App id can be found on the General Settings page
Required Upload token - see Firebase CLI Reference
Required Artifact to upload (.apk or .ipa)
Distribution groups
Release notes visible on release page. If not specified, plugin will add last commit's
- hash
- author
- message
Flag that can be included to print verbose log output. Default value is false
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