The Github Action allows you to build APK from any android studio project repo url
Simply goto actions and click on run workflow and provide your username and public repo. The output apk will be generated as part of build artifacts
Make sure to specify signing config in app/build.gradle
android {
signingConfigs {
release {
keyAlias 'myKeyAlias'
keyPassword 'password'
storePassword 'password'
storeFile file("${rootDir}/key.jks")
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
debug {
signingConfig signingConfigs.release
}
}
}