Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wzieba/firebase-distribution-github-action

This action uploads artifacts (.apk or .ipa) to Firebase App Distribution.
https://github.com/wzieba/firebase-distribution-github-action

aab actions apk firebase firebase-distribution github-actions ipa

Last synced: about 21 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

# Firebase App Distribution Github Action

![](https://github.com/wzieba/Firebase-Distribution-Github-Action/workflows/Sample%20workflow%20for%20Firebase%20Distribution%20action/badge.svg)
![](https://img.shields.io/github/v/release/wzieba/Firebase-Distribution-Github-Action)

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

## Inputs

### `appId`

**Required** App id can be found in the Firebase console in your Projects Settings, under Your apps. It is in the following format 1:1234567890123942955466829:android:1234567890abc123abc123

### `token`

⚠️ Deprecated! Don't use it. Firebase team deprecated this option and it will soon be removed.

Use `serviceCredentialsFileContent` instead. [Learn here how to generate one](https://github.com/wzieba/Firebase-Distribution-Github-Action/wiki/FIREBASE_TOKEN-migration).

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

### `serviceCredentialsFileContent`
**Required** Content of Service Credentials private key JSON file. [Learn here how to generate one](https://github.com/wzieba/Firebase-Distribution-Github-Action/wiki/FIREBASE_TOKEN-migration).

### `serviceCredentialsFile`

**Required** Service Credentials File - The path or HTTP URL to your Service Account private key JSON file.
Required only if you don't use `serviceCredentialsFileContent`.

### `file`

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

### `groups`

Distribution groups

### `testers`

Distribution testers. The email address of the testers you want to invite.

### `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`

## Outputs

### `FIREBASE_CONSOLE_URI`

Link to uploaded release in the Firebase console.

### `TESTING_URI`

Link to share release with testers who have access.

### `BINARY_DOWNLOAD_URI`

Link to download the release binary (link expires in 1 hour).

## 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}}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: testers
file: app/build/outputs/apk/release/app-release-unsigned.apk
```