![]() ![]() See action.yml for more details about the rubygems input. However, users can optionally customize the RubyGems version that they want by RubyGemsīy default, the default RubyGems version that comes with each Ruby is used. If they are not at the root of the repository, see action.yml for details. The working-directory input can be set to resolve. ruby-version is tried first, followed by. If the ruby-version input is not specified.engine only like ruby and truffleruby, uses the latest stable release of that implementation.version only like '2.6.5', assumes MRI for the engine.short version like '2.6', automatically using the latest release matching that version ( 2.6.10).engine-version like ruby-2.6.5 and truffleruby-19.3.0.See the GitHub Actions documentation for more details about theĪnd the condition and expression syntax. Ruby-version: '3.2 ' bundler-cache: true # runs 'bundle install' and caches installed gems automatically Gemfile: runs-on: ubuntu-latest env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps BUNDLE_GEMFILE: $.gemfile steps: The full list of available Ruby versions can be seen in ruby-builder-versions.jsonįor Ubuntu and macOS and in windows-versions.json for Windows. Truffleruby-head is generated by truffleruby-dev-builderĪnd truffleruby+graalvm is generated by graalvm-ce-dev-builds. Jruby-head is generated by jruby-dev-builder, Ruby-head is generated by ruby-dev-builder, The mingw, ucrt and mswin builds are generated by ruby-loco. The prebuilt releases are generated by ruby-builder $OS-latest just alias to one of these images. Runner images not listed below are not supported yet. The action works on these GitHub-hosted runners images. Which means Ruby ≤ 2.4 is unmaintained and considered insecure. ![]() Note that Ruby ≤ 2.4 and the OpenSSL version it needs (1.0.2) are both end-of-life, Due to that, Ruby 2.2 resolves to 2.2.6 on Windows and 2.2.10 Only release versions published by RubyInstallerĪre available on Windows. However, it is recommended to test against ruby-head rather than previews,Īs it provides more useful feedback for the Ruby core team and for upcoming changes. Preview and RC versions of Ruby might be available too on Ubuntu and macOS (not on Windows). Regarding Windows ruby master builds, mingw is a MSYS2/MinGW build, head & ucrt are MSYS2/UCRT64īuilds, and mswin is a MSVC/VS 2022 build. Ruby-debug is the same as ruby-head but with assertions enabled ( -DRUBY_DEBUG=1). This action currently supports these versions of MRI, JRuby and TruffleRuby: Interpreterġ.9.3, 2.0.0, 2.1.9, 2.2, all versions from 2.3.0 until 3.3.0-preview1, head, debug, mingw, mswin, ucrt Will be available, and you will need to update it to use newer Ruby versions, see Versioning. Important: Prefer you pin to a commit or release, only the Ruby versions available at the time of the commit It is very efficient and takes about 5 seconds to download, extract and add the given Ruby to the PATH. This action downloads a prebuilt ruby and adds it to the PATH. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |