Skip to content

Generate baseline profiles

Source: workflows/android-cloud-generate-baseline-profiles.yml

Runner: ubuntu-latest

Usage

jobs:
  generate-baseline-profiles:
    uses: futuredapp/.github/.github/workflows/android-cloud-generate-baseline-profiles.yml@2.2.0
    with:
      TASK_NAME: '...'
    secrets:
      SIGNING_KEYSTORE_PASSWORD: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }}
      SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
      SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}

Inputs

Name Type Required Default Description
TASK_NAME string Yes A Gradle task for executing baseline profiles, for example generateBaselineProfile
USE_GIT_LFS boolean No False Whether to download Git-LFS files
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.
TIMEOUT_MINUTES number No 60 Job timeout in minutes
JAVA_VERSION string No 17 Java version to use
JAVA_DISTRIBUTION string No zulu Java distribution to use
GRADLE_OPTS string No Gradle options

Secrets

Name Required Description
SIGNING_KEYSTORE_PASSWORD Yes Password to provided keystore
SIGNING_KEY_ALIAS Yes Alias of the signing key in the provided keystore
SIGNING_KEY_PASSWORD Yes Password to the key in the provided keystore
GRADLE_CACHE_ENCRYPTION_KEY No Configuration cache encryption key
SECRET_PROPERTIES 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.

Internal Actions Used