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
name: Android Build
uses: sharat/action-android-build
with:
args: './gradlew assembleDebug'
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 |