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

Support some form of "read only cache" or "centralized cache" #1151

Open
ramblingenzyme opened this issue Oct 28, 2024 · 2 comments
Open

Support some form of "read only cache" or "centralized cache" #1151

ramblingenzyme opened this issue Oct 28, 2024 · 2 comments
Labels
feature request New feature or request to improve the current logic

Comments

@ramblingenzyme
Copy link

Description:
@actions/cache now ships @actions/cache/save and @actions/cache/restore actions to easily implement different caching strategies. One of the strategies they document is "Make cache read only / Reuse cache from centralized job", where you only restore in jobs.

Justification:
It'd be nice to support this caching strategy / others in the future in this action natively to allow users to easily adopt or test strategies without having to opt out of this action's caching and implementing them themself.

Are you willing to submit a PR?
If I can find time

@priya-kinthali
Copy link

Hello @ramblingenzyme 👋,
Thank you for reporting this feature request. We will investigate it and get back to you as soon as we have some feedback.

@wouterds
Copy link

This would be nice, I have a couple of workflows running on self hosted runners that should be allowed to consume cache, but ideally I'd like to avoid the post action as it takes long and is not needed on those specific workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

3 participants