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

Use tools cache #3

Open
fwilhe opened this issue Feb 19, 2020 · 2 comments
Open

Use tools cache #3

fwilhe opened this issue Feb 19, 2020 · 2 comments

Comments

@fwilhe
Copy link
Contributor

fwilhe commented Feb 19, 2020

Currently the action downloads the piper binary newly each time it is invoked. Github offers a "tools cache" which we could use.

cf https://github.com/actions/toolkit/tree/master/packages/tool-cache

@CCFenner
Copy link
Member

This is intended for reuse on the same workflow or across workflows?

@fwilhe
Copy link
Contributor Author

fwilhe commented Feb 24, 2020

Finally, you can cache these directories in our tool-cache. This is useful if you want to switch back and forth between versions of a tool, or save a tool between runs for private runners (private runners are still in development but are on the roadmap).

My understanding is that this "only" caches in one run, but might still be useful if we're building workflows that use it often. But on the other hand I don't see a real need as of now as the downloads are really fast, so probable we won't gain much here. More "nice to have" imo.

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