action-android
action-android copied to clipboard
Unzip hangs on self-hosted runners
https://github.com/Malinskiy/action-android/blob/903c42f17b6e122db0bfe6a9b7fdbdafdc868c6d/install-sdk/src/sdk.ts#L57
curl -L https://dl.google.com/android/repository/sdk-tools-darwin-4333796.zip -o /tmp/android-sdk.zip -s
unzip -q /tmp/android-sdk.zip -d /Users/ghrunner/android-sdk
replace /Users/ghrunner/android-sdk/tools/NOTICE.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: ::error::The process 'unzip' failed with exit code 80
Adding "-o" to the unzip command might fix it.
Differently, checking for existence before extracting might be an option, too.
@adiknoth why do you install the sdk if you have an installation on self-hosted runner already?