Tweak no version found error message

* So it ends with "Use ruby/setup-ruby@v1" which seems to be what some
  people miss.
This commit is contained in:
Benoit Daloze
2022-06-21 11:03:22 +02:00
parent 2489e28c66
commit 706bae07c5
2 changed files with 2 additions and 4 deletions
Generated Vendored
+1 -2
View File
@@ -65762,8 +65762,7 @@ function validateRubyEngineAndVersion(platform, engineVersions, engine, parsedVe
} else {
throw new Error(`Unknown version ${parsedVersion} for ${engine} on ${platform}
available versions for ${engine} on ${platform}: ${engineVersions.join(', ')}
Make sure you use the latest version of the action with - uses: ruby/setup-ruby@v1
File an issue at https://github.com/ruby/setup-ruby/issues if you would like support for a new version`)
Make sure you use the latest version of the action with - uses: ruby/setup-ruby@v1`)
}
}
+1 -2
View File
@@ -150,8 +150,7 @@ function validateRubyEngineAndVersion(platform, engineVersions, engine, parsedVe
} else {
throw new Error(`Unknown version ${parsedVersion} for ${engine} on ${platform}
available versions for ${engine} on ${platform}: ${engineVersions.join(', ')}
Make sure you use the latest version of the action with - uses: ruby/setup-ruby@v1
File an issue at https://github.com/ruby/setup-ruby/issues if you would like support for a new version`)
Make sure you use the latest version of the action with - uses: ruby/setup-ruby@v1`)
}
}