Skip to content
This repository was archived by the owner on Feb 9, 2021. It is now read-only.

Commit 26cdcd0

Browse files
authored
Clarify the supported versions and intended usage
1 parent 18c61ab commit 26cdcd0

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,17 @@
44
<a href="https://github.com/actions/setup-ruby"><img alt="GitHub Actions status" src="https://github.com/actions/setup-ruby/workflows/Main%20workflow/badge.svg"></a>
55
</p>
66

7-
This action sets up a ruby environment for use in actions by:
7+
This action sets up Ruby for use in actions by adding a version of Ruby already existing in the toolcache to the PATH.
88

9-
- optionally installing a version of ruby and adding to PATH. Note that this action only uses versions of Ruby already installed in the cache. The action will fail if no matching versions are found.
10-
- registering problem matchers for error output
9+
This action currently only supports versions of Ruby in the toolcache.
10+
See [this list](https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md) for the available Ruby versions.
11+
The action will fail if no matching versions are found.
12+
13+
Because versions in the toolcache are updated over time, it is necessary to use a version range such as `2.6.x` and not exact versions.
14+
15+
If you are looking for using exact versions (e.g., `2.6.5`) of Ruby,
16+
please take a look at other actions such as [use-ruby-action](https://github.com/eregon/use-ruby-action).
17+
Note that there are [plans](https://github.com/actions/setup-ruby/issues/44) to support installing prebuilt Rubies with this action in the future.
1118

1219
# Usage
1320

0 commit comments

Comments
 (0)