restore a varying number of different keys?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.6k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi there,
I am currently setting up an action workflow where many small jobs compute bits of information that need to be passed on to other jobs in a directed acyclic graph as cache objects.
A major challenge for me in defining this elegantly is that I would like each job to use the same reusable workflow template, but need the jobs to be able to restore a varying number of caches with different known cache keys (as the number of parent jobs in the graph can differ).
However, I can't find an action interface that can restore multiple keys together or a way to iterate the cache/restore action within a single job. Is this simply not supported or am I just unable to see a valid way to do this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the GitHub Actions cache/restore action interface and reusable workflow behavior described in the issue. Determine whether one job can restore multiple known cache keys or iterate cache/restore, and define done as either a documented supported approach or a clearly scoped proposal for enabling it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100