mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-14 15:04:20 +02:00
Add support for Windows
This commit is contained in:
@@ -27,10 +27,13 @@ which means Ruby 2.3 is unmaintained and considered insecure.
|
||||
|
||||
### Supported Platforms
|
||||
|
||||
The action works for the `ubuntu-16.04`, `ubuntu-18.04` and `macos-latest` GitHub-hosted runners.
|
||||
`windows-latest` is not yet supported.
|
||||
The action works for all GitHub-hosted runners:
|
||||
`ubuntu-16.04`, `ubuntu-18.04`, `macos-latest` and `windows-latest`.
|
||||
|
||||
The prebuilt rubies are generated by https://github.com/eregon/ruby-install-builder.
|
||||
Ruby 2.3, JRuby and TruffleRuby are not yet supported on `windows-latest`.
|
||||
|
||||
The prebuilt rubies are generated by https://github.com/eregon/ruby-install-builder
|
||||
and on Windows by https://github.com/oneclick/rubyinstaller2.
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -82,6 +85,8 @@ jobs:
|
||||
|
||||
## Limitations
|
||||
|
||||
* Currently does not work on Windows since the builder doesn't build on Windows.
|
||||
https://github.com/MSP-Greg/actions-ruby is an alternative on Windows.
|
||||
* This action currently only works with GitHub-hosted runners, not private runners.
|
||||
|
||||
## Credits
|
||||
|
||||
Most of the Windows logic is from https://github.com/MSP-Greg/actions-ruby by MSP-Greg.
|
||||
|
||||
Reference in New Issue
Block a user