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

Is it possible to have this action cache the installation and emulator? #4

Closed
ZacSweers opened this issue Nov 9, 2019 · 4 comments
Closed

Comments

@ZacSweers
Copy link

GitHub actions has formal caching support now, would be great if it's possible to (partially) cache some of the downloaded portions of this action with it.

https://github.com/actions/cache

@Malinskiy
Copy link
Owner

@ZacSweers Right now the url for sdk doesn't contain the actual version of sdk components, it's just a minimal setup of android sdk. We can ofc cache this. I'll provide an example config soon.

The caching is not part of the action though and really depends on what you're trying to cache and how you can create a unique key for it so it's quite hard to list all the possible cases that are related to this action. If you have other cases - feel free to suggest them though.

@Malinskiy
Copy link
Owner

Hey @ZacSweers,
I've tried to use the cache for the android-sdk but unfortunately it's over the size limit of the cache entry

The size of the installation is too large :(

@Malinskiy
Copy link
Owner

I'm gonna close this issue for the time being. Feel free to reopen if there are gonna be changes to cache limit size and we can reevaluate caching dependencies of this action

@ZacSweers
Copy link
Author

They've raised it to 2GB, possible to reconsider?

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