-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
There is a small difference with GitHub images that can break tools (in my case cargokit).
In the GitHub ubuntu image the path to cmdline-tools is always called .android/sdk/cmdline-tools/latest because of how they are installed.
With the setup-android action, latest can be the actual short version number (16.0 at the time of writing).
The following workaround helps:
cd ~/.android/sdk/cmdline-tools/
LATEST_DIR=$(ls -d [0-9]*.[0-9]* 2>/dev/null | sort -V | tail -n 1)
ln -s "$LATEST_DIR" latest
It would be nice if the action mimicked the behavior of the GitHub image.
Metadata
Metadata
Assignees
Labels
No labels