runner icon indicating copy to clipboard operation
runner copied to clipboard

"Set up job" does not use tool cache dir

Open davhdavh opened this issue 2 years ago • 2 comments

Describe the bug

https://github.com/actions/runner/blob/8b9a81c952a0c2a2a13a23b952c6a083c97f2a1b/src/Runner.Worker/ActionManager.cs#L774

The download code for actions does not include using the tool cache

To Reproduce Steps to reproduce the behavior:

  1. Set up self-hosted runner with tool-caching (ie $RUNNER_TOOL_CACHE)
  2. Run any action
  3. See download of actions dependencies EVERY SINGLE TIME

Expected behavior Download ONCE

Runner Version and Platform

2.308.0

OS of the machine running the runner? ALL

Job Log Output

If applicable, include the relevant part of the job / step log output here. All sensitive information should already be masked out, but please double-check before pasting here.

Runner and Worker's Diagnostic Logs

image

davhdavh avatar Aug 21 '23 06:08 davhdavh

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 15 days.

github-actions[bot] avatar Aug 26 '24 00:08 github-actions[bot]

/not-stale

davhdavh avatar Aug 27 '24 05:08 davhdavh

now possible with https://github.com/marketplace/actions/save-actions-cache

davhdavh avatar Mar 27 '25 12:03 davhdavh