Fix tool-cache directory on self-hosted runners

This commit is contained in:
Shivam Mathur
2025-06-11 14:57:09 +05:30
parent 27853eb8b4
commit 36fada6981
3 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ self_hosted_helper() {
sudo ln -sf /usr/bin/apt-get /usr/bin/apt-fast
trap "sudo rm -f /usr/bin/apt-fast 2>/dev/null" exit
fi
sudo mkdir -p /opt/hostedtoolcache >/dev/null 2>&1 || true
install_packages apt-transport-https ca-certificates curl file make jq unzip autoconf automake gcc g++ gnupg
}