Commit Graph
16 Commits
Author SHA1 Message Date
VolodymyrandClaude Opus 5 7731365548 Fix #537: stop installing the deprecated tools package
Google no longer serves the `tools` package: it is gone from
repository2-3.xml, so `sdkmanager tools` fails with
"Failed to find package 'tools'" and takes the whole action down with it.

- Drop `tools` from the default value of the `packages` input, leaving
  `platform-tools`. The command line tools that replaced it are already
  installed by this action, and there is no bare `cmdline-tools` package
  path to install instead (only versioned ones, e.g. `cmdline-tools;20.0`).
- Skip `tools` with a warning when it is requested explicitly, so the
  many workflows that pass `packages: 'tools platform-tools'` keep working
  instead of failing.
- Update the README accordingly.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-17 11:39:35 -05:00
Vilius Sutkus '89 200c644fca Add cmdline-tools version 20.0 ( 14742923 ) 2026-03-25 00:12:40 +02:00
Róbert Papp (TWiStErRob) 6a40db5374 Migrate from Node 20 to Node 24 2026-03-24 21:37:19 +02:00
Stefan Wärting 2022e05939 Add support for versions 12, 13, and 16 2024-11-09 23:37:36 +02:00
Vilius Sutkus '89 eb7920b260 Implement action input parameter 'packages' 2023-11-25 17:41:26 +02:00
Vilius Sutkus '89 ade8112388 Change "Licence" to "License" 2023-11-21 22:35:25 +02:00
Vilius Sutkus '89 aeaba18a12 [Issue #384] Implement silent licence agreement. 2023-11-21 22:11:35 +02:00
Vilius Sutkus '89 8023252681 [Issue #192] Accept cmdline-tools-version input parameter 2023-11-21 21:18:33 +02:00
Vilius Sutkus '89 ccc0939481 Use Node-20 instead of end-of-life Node-16
Would prefer to use Node-18, because it's LTS, but I can't, because it's not available:
https://github.com/actions/runner-images/discussions/7664
2023-09-25 03:20:06 +03:00
Vilius Sutkus '89 34f33aad26 Use Node16 (current LTS), instead of Node12 2022-08-03 15:23:56 +03:00
Dave Olsthoorn 24b7e80ade 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
2020-08-26 17:51:32 +02:00
Dave Olsthoorn 5c7f7b1c49 Cleanup action.yml 2020-08-11 17:40:16 +02:00
Dave Olsthoorn 64495f005b Attempt at first version 2020-07-25 18:07:39 +02:00
Dave Olsthoorn 47171f7d89 Initial changes for setup-android 2020-07-14 17:41:00 +02:00
Jonas Bengtsson aa16e13db3 Improve documentation 2020-01-03 21:38:11 +01:00
Jonas Bengtsson 39774526ec Initial version of job 2020-01-03 11:37:01 +01:00