Skip to content

Commit 706bae0

Browse files
committed
Tweak no version found error message
* So it ends with "Use ruby/setup-ruby@v1" which seems to be what some people miss.
1 parent 2489e28 commit 706bae0

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

dist/index.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ function validateRubyEngineAndVersion(platform, engineVersions, engine, parsedVe
150150
} else {
151151
throw new Error(`Unknown version ${parsedVersion} for ${engine} on ${platform}
152152
available versions for ${engine} on ${platform}: ${engineVersions.join(', ')}
153-
Make sure you use the latest version of the action with - uses: ruby/setup-ruby@v1
154-
File an issue at https://github.com/ruby/setup-ruby/issues if you would like support for a new version`)
153+
Make sure you use the latest version of the action with - uses: ruby/setup-ruby@v1`)
155154
}
156155
}
157156

0 commit comments

Comments
 (0)