setup-android-tools
setup-android-tools copied to clipboard
Set up Android tools in GitHub Actions workflow with cache
I had been using this with a github action recently, but a change inside github actions has broken the functionality here. This is the thread in github actions that talks...
Update action.yml to use node 16 Update github workflow to use node 16 Solves #3
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: maxim-lobanov/setup-android-tools
Code is at https://github.com/VedantLtd/Setup-Cordova/blob/main/tempMain.yml `Run maxim-lobanov/setup-android-tools@v1 with: packages: ndk;21.4.7075529 cache: true env: JAVA_HOME: /Users/runner/hostedtoolcache/Java_Adopt_jdk/11.0.11-9/x64/Contents/Home Getting list of available components /Users/runner/Library/Android/sdk/tools/bin/sdkmanager --list Error: '/Users/runner/Library/Android/sdk/tools/bin/sdkmanager --list' has finished with exit code '1'`