LeMimit / setup-android

Docker-based GitHub Actions image that allows building apps with the Android SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android build container for GitHub Actions

This Action lets you build Android apps in an Android SDK environment with nearly everything from the SDK packages list, already installed. If you find something missing, please start an issue here so that I can fix it for you.

Use this Action

Contents

Usage

- name: "Run test suite"
  uses: msfjarvis/setup-android@0.2
  with:
    gradleTasks: "dependencies spotlessApply detekt assembleDebug"

With this configuration the container will run ./gradlew dependencies spotlessApply detekt assembleDebug as a build step. A future release of this Action will deprecate the gradleTasks input and let users run arbitrary commands at will. Switch your 'Watching' status to 'Releases only' to be notified when the update goes out.

Changelog

Unreleased

  • Allow running arbitrary tasks with run: <commands> and deprecate the gradleTasks input.

0.2

  • Switch to Ubuntu-based flavor of base image. This is useful to get the version of patch(1) that I require in my projects.

0.1

  • Initial release

About

Docker-based GitHub Actions image that allows building apps with the Android SDK

License:MIT License


Languages

Language:Shell 64.5%Language:Dockerfile 35.5%