mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
Add a self-hosted input to force considering the current runner as self-hosted
* Since checking for self-hosted is based on guessing as there is no proper predicate for it in GitHub Actions (AFAIK).
This commit is contained in:
@@ -30,6 +30,11 @@ inputs:
|
||||
description: |
|
||||
Arbitrary string that will be added to the cache key of the bundler cache. Set or change it if you need
|
||||
to invalidate the cache.
|
||||
self-hosted:
|
||||
description: |
|
||||
Consider the runner as a self-hosted runner, which means not using prebuilt Ruby binaries which only work
|
||||
on GitHub-hosted runners or self-hosted runners with a very similar image to the ones used by GitHub runners.
|
||||
The default is to detect this automatically based on the OS, OS version and $RUNNER_TOOL_CACHE.
|
||||
outputs:
|
||||
ruby-prefix:
|
||||
description: 'The prefix of the installed ruby'
|
||||
|
||||
Reference in New Issue
Block a user