[Ubuntu, Windows] Add RUNNER_TOOL_CACHE environment variable (#10780)

This commit is contained in:
Alexey-Ayupov
2024-10-15 12:18:57 +02:00
committed by GitHub
parent c6ea5e3564
commit 499aa8a821
2 changed files with 2 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ sed -i 's/::1 ip6-localhost ip6-loopback/::1 localhost ip6-localhost ip6-loo
AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache
mkdir $AGENT_TOOLSDIRECTORY
set_etc_environment_variable "AGENT_TOOLSDIRECTORY" "${AGENT_TOOLSDIRECTORY}"
set_etc_environment_variable "RUNNER_TOOL_CACHE" "${AGENT_TOOLSDIRECTORY}"
chmod -R 777 $AGENT_TOOLSDIRECTORY
# https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html