### Multiple Packages Source: https://github.com/premex-ab/setup-android-cli/blob/main/README.md This example shows how to install multiple Android SDK packages using the `packages` input. ```yaml - uses: premex-ab/setup-android-cli@v1 with: packages: | platforms/android-34 build-tools/34.0.0 platform-tools ``` -------------------------------- ### Custom SDK Path Source: https://github.com/premex-ab/setup-android-cli/blob/main/README.md This example shows how to specify a custom installation path for the Android SDK. ```yaml - uses: premex-ab/setup-android-cli@v1 with: sdk-path: /opt/android-sdk packages: platforms/android-34 build-tools/34.0.0 platform-tools ``` -------------------------------- ### Migration Example Source: https://github.com/premex-ab/setup-android-cli/blob/main/README.md Shows the difference in configuration between the old and new setup-android actions. ```diff - name: Setup Android SDK - uses: android-actions/setup-android@v3 - with: - packages: 'tools platform-tools' + uses: premex-ab/setup-android-cli@v1 + with: + packages: platform-tools ``` -------------------------------- ### CLI Only (no SDK packages) Source: https://github.com/premex-ab/setup-android-cli/blob/main/README.md This example demonstrates how to use the action to only install the CLI without any SDK packages. ```yaml - uses: premex-ab/setup-android-cli@v1 - run: android --version ``` -------------------------------- ### Basic Usage Source: https://github.com/premex-ab/setup-android-cli/blob/main/README.md This example demonstrates the basic usage of the setup-android-cli action in a GitHub Actions workflow. ```yaml steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 with: distribution: temurin java-version: '21' - uses: premex-ab/setup-android-cli@v1 with: packages: platform-tools - run: ./gradlew --no-daemon build ``` -------------------------------- ### Disable Caching Source: https://github.com/premex-ab/setup-android-cli/blob/main/README.md This example demonstrates how to disable the caching mechanism for the action. ```yaml - uses: premex-ab/setup-android-cli@v1 with: cache: 'false' packages: platform-tools ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.