Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Caue Rego edited this page Sep 19, 2020 · 2 revisions

forked after https://github.com/Neamar/KISS/issues/1245

big self note on how i got to this point...

how to build an APK from github using github actions!

i ended up trying to build first with ant, and sadly it wasn't that simple... it needs a build.xml file. i've never done any ci before, so it could be just my ignorance, right? and so it was...

github also offers maven. never used any of them before... thankfully the first ducking result was quick to clarify https://www.baeldung.com/ant-maven-gradle

and then, after hitting my head a bit longer, got to this point https://github.com/search?q=gradle+ci+build+apk+run+path%3A%2F.github+filename%3Agradle.yml&type=Code&ref=advsearch&l=&l=

which helped me to realise there had to be a simple way https://github.com/caseyavila/velcro/actions/runs/252001836

finally, i noticed the simple way requires a very weird path: app/build/outputs/apk/debug/app-debug.apk

nope. freaking https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle didn't help at all!

anyway, this was the awesome result!

https://github.com/cauerego/KISS/actions/runs/262484907

Clone this wiki locally