Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unzip hangs on self-hosted runners #25

Open
adiknoth opened this issue Jun 22, 2020 · 2 comments
Open

Unzip hangs on self-hosted runners #25

adiknoth opened this issue Jun 22, 2020 · 2 comments

Comments

@adiknoth
Copy link

await execWithResult(`unzip -q ${ANDROID_TMP_PATH} -d ${ANDROID_HOME}`)

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.

@adiknoth
Copy link
Author

Differently, checking for existence before extracting might be an option, too.

@Malinskiy
Copy link
Owner

@adiknoth why do you install the sdk if you have an installation on self-hosted runner already?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants