From 74cfbf06143d439f4ca2640c8ecc9c802eb25119 Mon Sep 17 00:00:00 2001 From: Jankees van Woezik Date: Wed, 24 Nov 2021 13:31:23 +0100 Subject: [PATCH] Clarify the use of ImageOs on self hosted runners --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1164d5c..a4f3a5a 100644 --- a/README.md +++ b/README.md @@ -243,6 +243,8 @@ if the [virtual environment](https://github.com/actions/virtual-environments) is In other cases, please use a system Ruby or [install Ruby manually](https://github.com/postmodern/chruby/wiki#installing-rubies) instead. +On a self-hosted runner you need to define the `ImageOs` as an evironment variable on the host, you can do this in the `~/actions-runner/.env` file (See [#230](https://github.com/ruby/setup-ruby/issues/230)). + ## History This action used to be at `eregon/use-ruby-action` and was moved to the `ruby` organization.