Skip to content

Gradle Android

Actions
Run Android Gradle tasks
2.0.0
Latest
Star (25)

Tags

 (1)

android-gradle-action

Run Android Gradle tasks with GitHub Actions.

Note

This action may not be required to run Android builds.

Instead, you can simply try to execute the gradle wrapper in the GitHub action VM with :

- name: Run tests
  run: ./gradlew test

Example

name: CI

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - name: Run Gradle command
      uses: Raul6469/[email protected]
      with:
        # The gradle command you wish to run (required)
        # Here, `./gradlew test` will be run
        script: test

        # In some cases, you may need to provide
        # Android licence agreement id
        # You can find it on your own machine under `$ANDROID_HOME/license`,
        # and add the file content as a GitHub secret named `$ANDROID_LICENCE`.
        android-licence: ${{ secrets.ANDROID_LICENCE }}

Gradle Android is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Run Android Gradle tasks
2.0.0
Latest

Tags

 (1)

Gradle Android is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.