Skip to content

Commit 8e77d9e

Browse files
committed
Mention RUNNER_TOOL_CACHE requirements for self-hosted runners
1 parent 339f055 commit 8e77d9e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ if the [virtual environment](https://github.com/actions/virtual-environments) is
203203
* Make sure to use the same operating system and version.
204204
* Make sure to use the same version of libssl.
205205
* Make sure that the operating system has `libyaml-0` installed
206+
* The environment variable `RUNNER_TOOL_CACHE` must be set to same value as on GitHub-hosted runners
207+
(`/opt/hostedtoolcache` on Linux, `/Users/runner/hostedtoolcache` on macOS, `C:\hostedtoolcache\windows` on Windows).
208+
* That directory must be writable by the `runner` user.
206209
* The runner software is running as user `runner` with a home directory of `/home/runner`, or you have created a symlink for the home directory of whatever user that the runner is running as to `/home/runner`.
207210

208211
In other cases, please use a system Ruby or [install Ruby manually](https://github.com/postmodern/chruby/wiki#installing-rubies) instead.

0 commit comments

Comments
 (0)