Enterprise build
Source: actions/android-build-firebase/action.yml
Builds and uploads app to Firebase App Distribution.
Usage
- uses: futuredapp/.github/.github/actions/android-build-firebase@2.2.0
with:
test_gradle_task: '...'
package_gradle_task: '...'
upload_gradle_task: '...'
app_distribution_groups: '...'
app_distribution_service_account: '...'
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
test_gradle_task |
string |
Yes | — | A Gradle task(s) for executing unit tests, for example testReleaseUnitTest or testDevEnterpriseUnitTest |
package_gradle_task |
string |
Yes | — | A Gradle task for packaging universal APK, eg. 'packageEnterpriseUniversalApk' |
upload_gradle_task |
string |
Yes | — | A Gradle task for uploading APK, for example appDistributionUploadEnterprise |
app_distribution_groups |
string |
Yes | — | Comma-separated list of Firebase App Distribution group IDs |
app_distribution_service_account |
string |
Yes | — | JSON key of service account with permissions to upload build to Firebase App Distribution |
version_name |
string |
No | — | Version name. Example: '1.X.X-snapshot' |
build_number_offset |
string |
No | 0 |
Build number offset. This number will be added to GITHUB_RUN_NUMBER and can be used to make corrections to build numbers. |
release_notes |
string |
No | ${{ github.event.head_commit.message }} |
Release notes for this build |
kmp_flavor |
string |
No | test |
KMP Build flavor. This is optional and only required by KMP projects and can be ignored on pure Android projects |
secret_properties_file |
string |
No | secrets.properties |
A path to file that will be populated with contents of 'SECRET_PROPERTIES' secret. This file can be picked up by Secrets Gradle plugin to embed secrets into BuildConfig. |
secret_properties |
string |
No | — | Custom string that contains key-value properties as secrets. Contents of this secret will be placed into file specified by 'SECRET_PROPERTIES_FILE' input. |