Changeup: consilidate code, drop cache, change download

This changes up way too much:
- Moving most (all) of the code to main.ts instead of the numerous
  files
- Dropping the caching functionality, since it should be optional
- now we will only download the android sdk tools if they are not
  already present, including if ANDROID_SDK_ROOT is already set
This commit is contained in:
Dave Olsthoorn 2020-08-26 17:51:32 +02:00
parent 57977119c1
commit 24b7e80ade
11 changed files with 71 additions and 370 deletions

View file

@ -4,9 +4,7 @@ description: 'Setup the Android SDK Tools and add them to the path'
runs:
using: 'node12'
main: 'dist/main/index.js'
post: 'dist/post/index.js'
post-if: success()
main: 'dist/index.js'
branding:
icon: 'list'