cache icon indicating copy to clipboard operation
cache copied to clipboard

Incorrect documentation for `restore-keys`

Open Zac-HD opened this issue 2 years ago • 4 comments

https://github.com/actions/cache/blob/04f198bf0b2a39f7230a4304bf07747a0bddf146/README.md#L52

This turns out to be slightly but importantly wrong: the format is actually a multi-line string with one key per line; attempting to supply an actual list of keys will fail to validate (c.f. https://github.com/python/cpython/pull/104468#pullrequestreview-1425935982). I think the just updating the docs is probably better than switching to the currently-documented behavior.

Zac-HD avatar May 16 '23 02:05 Zac-HD

This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.

github-actions[bot] avatar Dec 02 '23 08:12 github-actions[bot]

https://github.com/actions/cache/tree/main#inputs shows the same problem; the lack of a fix doesn't imply the issue should be closed.

Zac-HD avatar Dec 02 '23 18:12 Zac-HD