diff --git a/README.md b/README.md index ae0daba..818911c 100644 --- a/README.md +++ b/README.md @@ -39,12 +39,10 @@ The action works on these [GitHub-hosted runners](https://help.github.com/en/act | Operating System | Recommended | Other Supported Versions | | ----------- | -------- | -------- | -| Ubuntu | `ubuntu-latest` (= `ubuntu-20.04`) | `ubuntu-18.04`, `ubuntu-22.04` (beta, only `ruby: 3.1 - head, truffleruby`) | +| Ubuntu | `ubuntu-latest` (= `ubuntu-20.04`) | `ubuntu-18.04`, `ubuntu-22.04` | | macOS | `macos-latest` (= `macos-11`) | `macos-10.15`, `macos-12` (beta) | | Windows | `windows-latest` (= `windows-2022`) | `windows-2019` | -On `ubuntu-22.04` (beta), only `ruby: 3.1 - head, truffleruby` are supported, due to Ubuntu 22.04 only supporting OpenSSL 3. - The prebuilt releases are generated by [ruby-builder](https://github.com/ruby/ruby-builder) and on Windows by [RubyInstaller2](https://github.com/oneclick/rubyinstaller2). `mingw` and `mswin` builds are generated by [ruby-loco](https://github.com/MSP-Greg/ruby-loco). diff --git a/dist/index.js b/dist/index.js index 58d36e1..8eebaf3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -64893,13 +64893,6 @@ function getAvailableVersions(platform, engine) { throw new Error(`Unsupported platform ${platform}`) } - if (platform === 'ubuntu-22.04') { - const rubyVersions = rubyBuilderVersions['ruby'] - return { - ruby: rubyVersions.slice(rubyVersions.indexOf('3.1.0')), - }[engine] - } - return rubyBuilderVersions[engine] } diff --git a/ruby-builder.js b/ruby-builder.js index c7c6a3b..81ca2cd 100644 --- a/ruby-builder.js +++ b/ruby-builder.js @@ -17,13 +17,6 @@ export function getAvailableVersions(platform, engine) { throw new Error(`Unsupported platform ${platform}`) } - if (platform === 'ubuntu-22.04') { - const rubyVersions = rubyBuilderVersions['ruby'] - return { - ruby: rubyVersions.slice(rubyVersions.indexOf('3.1.0')), - }[engine] - } - return rubyBuilderVersions[engine] }