Github action that uploads single or multiple apps to firebase app distribution with glob pattern support
Required Google cloud platform project service account key (json).
Firebase App id.
App to upload (.apk or .ipa)
Groups of testers seperated by comma
Release notes string
Release notes file (txt)
Json file for multiple apps
{
"apps": [
{
"app_id": "1:23456789:android:123456789123456789",
"app": "/app.apk",
"groups": "all",
"release_notes": "Single app at project root release notes"
},
{
"app_id": "1:23456789:android:123456789123456789",
"app": "/build/app.apk",
"groups": "testers,qa",
"release_notes_file": "release_notes.txt"
}
]
}
To upload app with version in name like 'app-admin-1.0.0.apk' use glob pattern.
{
"apps": [
{
"app_id": "1:23456789:android:123456789123456789",
"app": "/build/app-admin-**.apk",
"groups": "all"
},
{
"app_id": "1:23456789:android:123456789123456789",
"app": "/build/app-user-**.apk",
"groups": "testers,qa"
}
]
}
jobs:
single_app_root:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Single app at project root
uses: burhankhanzada/firebase_app_distribution_github_action@main
with:
service_account_key_json: ${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}
app_id: ${{ secrets.FIREBASE_APP_ID }}
app: app.apk
groups: all
release_notes: "Single app at project root release notes"
single_app_path:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Single app at specific path
uses: burhankhanzada/firebase_app_distribution_github_action@main
with:
service_account_key_json: ${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}
app_id: ${{ secrets.FIREBASE_APP_ID }}
app: /build/app.apk
groups: all
release_notes_file: "release_notes.txt"
multiple_apps:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Multiple apps with json
uses: burhankhanzada/firebase_app_distribution_github_action@main
with:
service_account_key_json: ${{ secrets.SERVICE_ACCOUNT_KEY_JSON }}
multiple_apps_json: ${{ secrets.APPS_JSON }}