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

Expose "cache-key" as an output of cache-restore #1129

Open
danwulff opened this issue Sep 11, 2024 · 1 comment
Open

Expose "cache-key" as an output of cache-restore #1129

danwulff opened this issue Sep 11, 2024 · 1 comment
Labels
feature request New feature or request to improve the current logic

Comments

@danwulff
Copy link

Description:

While the cache-hit output tells us whether a cache was found, the action currently does not expose which "cache key" was used.

Justification:

A cache-key could be helpful to manually purge caches created in a pull request upon pull request closure. In very active repos, 10GB cache limit could cause the default branch cache to be purged prior to pull request (branch) caches. Providing a cache-key would allow folks to choose whether to purge caches manually. Combined with #663 this could give users more flexibility in controlling caches.

Are you willing to submit a PR?

Yes, I'll see if I can find some time create a PR.

@danwulff danwulff added feature request New feature or request to improve the current logic needs triage labels Sep 11, 2024
@aparnajyothi-y
Copy link
Contributor

Hello @danwulff, Thank you for creating the issue and we will get back to you once we have some feedback on this :)

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

2 participants