sharat / action-android-build

GitHub action to build Android along with v20 of NDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android Build docker action

This action provides a workaround to fix the issues with NDK dependencies in the code where the ubuntu runner comes with NDK 21.x but your code might need 20.x. This image provides both 21 and 20 side by side.

This is not recommended for regular builds. Use starter workflows suggested by GitHub

Example usage

name: Android Build
uses: sharat/action-android-build
with:
  args: './gradlew assembleDebug'

Docker Images

Using action will cause the entire image to be rebuilt. This will take considerable time. You may pull the docker image published under the packages, or under docker hub.

Docker Hub Image Base
sarathc/androidbuild:alpine ubuntu:bionic
sarathc/androidbuild:ubuntu openjdk:alpine

About

GitHub action to build Android along with v20 of NDK


Languages

Language:Dockerfile 94.1%Language:Shell 5.9%