runner icon indicating copy to clipboard operation
runner copied to clipboard

is there a way do NOT download action every time on self hosted runner

Open kikyous opened this issue 4 years ago • 8 comments

My self hosted runner run behind a http proxy which has a limited network speed to github.

Every time a job start run, it download all actions even it has been downloaded before(saved at actions-runner/_work/_actions), and cost a lot of time.

is there a way to use action exist at actions-runner/_work/_actions instead of download from github every time?

kikyous avatar Nov 18 '20 10:11 kikyous

Hello! Any news with this issue?

imurashka avatar Feb 23 '21 18:02 imurashka

An action repo cache would be really desirable.

shakefu avatar Dec 02 '21 20:12 shakefu

Really? You see me a little suprised. I was looking for that. Neither Google nor ChatGPT now how to do that. This should be a low hanging fruit. We just need some documentation on what the runners are doing while installing actions.

Fitzbert-Fitz avatar May 10 '23 06:05 Fitzbert-Fitz

We would also love some feedback on this.

dvlato avatar Nov 27 '23 13:11 dvlato

I am also interested in this. We're running GHA in our K8s cluster and I'm wondering if I can mount a volume to that path or something, without breaking runners. It seems wasteful to download the same actions hundreds of times a day.

booleanbetrayal avatar Dec 11 '23 18:12 booleanbetrayal

I also request this feature. My issue is that we are using self-hosted runners with really strict vulnerability scanning. Downloading each time results in a MASSIVE delay due to the overhead of scanning the same action over and over. I know it must be more complex than I'm thinking but I don't see how it would be significantly different than the tool cache approach. Maybe as an option at the workflow or job level? use-cached-actions?

gguillen avatar Apr 04 '24 18:04 gguillen

Is there any update on this issue as we are also seeing issue with massive delay with running with self-hosted runners (windows 2019).

learnprofile avatar May 16 '24 01:05 learnprofile

Any update on this? this is not only causing network but a good amount of time per build multiplied by 100s of them per day and years!!.. Can this be please looked into?

ashutoshg avatar Aug 20 '24 14:08 ashutoshg