Set up Android environment
Source: actions/android-setup-environment/action.yml
Sets up Java, Gradle, Ruby, optionally the Android SDK and Kotlin/Native dependency cache, and other preconditions for CI runs at Futured Android workflows.
Usage
- uses: futuredapp/.github/.github/actions/android-setup-environment@2.7.0
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
java |
string |
No | true |
Whether to set up Java |
java_version |
string |
No | 17 |
Java version to use, eg. '17'. |
java_distribution |
string |
No | zulu |
Java distribution to use, eg 'zulu'. |
ruby |
string |
No | true |
Whether to set up Ruby |
ruby_version |
string |
No | 3.4 |
Ruby version. |
gradle |
string |
No | true |
Whether to set up Gradle |
gradle_cache_encryption_key |
string |
No | — | Configuration cache encryption key. Leave empty if you don't need cache. |
android_sdk_packages |
string |
No | — | sdkmanager packages to install, eg. 'platforms;android-36 build-tools;36.0.0 platform-tools'. Leave empty to skip the SDK setup (runner image already has the SDK). |
kotlin_native_cache |
string |
No | false |
Whether to cache ~/.konan/dependencies (LLVM, libffi) between runs. Useful for KMP projects on fresh macOS runners. |