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

github actions cache: Use more unique key #1134

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

autoantwort
Copy link

@autoantwort autoantwort commented Feb 2, 2024

Description:
If multiple jobs with stale steps exists in a repo we want a cache entry per run. Otherwise the cached state is used across different stale jobs

Solution
Use the hash of the inputs of the action as unique key.

Related issue:
#1133

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@autoantwort autoantwort requested a review from a team as a code owner February 2, 2024 21:18
@autoantwort autoantwort force-pushed the use-job-specific-cache-key branch from 6eb7df9 to 90b6672 Compare February 2, 2024 21:27
@autoantwort
Copy link
Author

@HarithaVattikuti Can you approve the ci workflows? :) A working stale action would be nice.

@autoantwort autoantwort mentioned this pull request Oct 8, 2024
2 tasks
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

Successfully merging this pull request may close these issues.

1 participant