From 706bae07c541e4fc465e14351af8222ebf50960f Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Tue, 21 Jun 2022 11:03:22 +0200 Subject: [PATCH] Tweak no version found error message * So it ends with "Use ruby/setup-ruby@v1" which seems to be what some people miss. --- dist/index.js | 3 +-- index.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 71c3328..5b08247 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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`) } } diff --git a/index.js b/index.js index 0efd0ee..3644c56 100644 --- a/index.js +++ b/index.js @@ -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`) } }