actions / actions/toolkit

Document that the tool-cache library does not cache tools between runs

Open
#1,366 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
5.9k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

The tool-cache library readme should make it clear that it doesn't cache tools between runs on hosted runners. This is hinted at by the phrase "This is useful if you want to ... save a tool between runs for self-hosted runners" but it is not explicitly stated.

As library written by Github, it seems like using the tool-cache would be the best way of creating a re-usable action to install a binary. However it's utility for tools that aren't pre-installed in runner images is small and it's name is misleading.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the tool-cache library README referenced in the issue and review the existing sentence about saving tools between runs for self-hosted runners. Update the documentation to state explicitly that hosted runners do not cache tools between runs; the issue mentions no test or additional file to run.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.