mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-14 15:04:20 +02:00
Store the available Ruby versions in this repository
* That way it's always perfectly synchronized with the action. In practice querying another repository sometimes returned a stale copy. * Avoids an extra HTTPS request. * The axios dependency is no longer needed. * Makes it possible to tweak the versions available according to the platform.
This commit is contained in:
@@ -14,7 +14,7 @@ async function run() {
|
||||
installer = require('./ruby-install-builder')
|
||||
}
|
||||
|
||||
const engineVersions = await installer.getAvailableVersions(engine)
|
||||
const engineVersions = installer.getAvailableVersions(platform, engine)
|
||||
const ruby = validateRubyEngineAndVersion(platform, engineVersions, engine, version)
|
||||
|
||||
const rubyPrefix = await installer.install(platform, ruby)
|
||||
|
||||
Reference in New Issue
Block a user