I have a self hosted runner for Git hub workflow ,which requires Ruby for the execution .. I tried to use ruby/setup-ruby which is a prebuilt ruby ..But when I use that it gives me a error as below
- Unable to locate executable file: 7z. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.
my yml file related to setting up prebuilt ruby is as follows
- uses: ruby/setup-ruby@v1
env:
ImageOS : win19
with:
ruby-version: '2.6.5'
- So I have installed ruby on the server manually. Now I want to use that manually installed Ruby instance inside my Yml file.. Any advise?
i have added 7zip to my environmental variables and verified that its added as follows
the service which is used to communicate my runner with GitHub also works fine as it shows my runner state correctly as follows even I am not executing any workflow action on it..