Skip to content

Commit b12138f

Browse files
committed
Add reminder to use ruby/setup-ruby@v1 for latest Ruby releases
1 parent b229655 commit b12138f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ assignees: ''
99

1010
<!--
1111
Before filing this issue:
12+
* Make sure you use the latest version with `- uses: ruby/setup-ruby@v1` (see https://github.com/ruby/setup-ruby/blob/master/README.md#versioning)
1213
* If the issue happens on JRuby or TruffleRuby, and does not happen on CRuby (please check), file an issue there instead. It's very unlikely ruby/setup-ruby is the cause.
1314
* Try to reproduce the issue locally by following the workflow steps (including all commands done by ruby/setup-ruby, except for `Downloading Ruby` & `Extracting Ruby`). If it does reproduce locally, it's not a ruby/setup-ruby issue.
1415

dist/index.js

Lines changed: 1 addition & 0 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ function validateRubyEngineAndVersion(platform, engineVersions, engine, parsedVe
129129
} else {
130130
throw new Error(`Unknown version ${parsedVersion} for ${engine} on ${platform}
131131
available versions for ${engine} on ${platform}: ${engineVersions.join(', ')}
132+
Make sure you use the latest version of the action with - uses: ruby/setup-ruby@v1
132133
File an issue at https://github.com/ruby/setup-ruby/issues if would like support for a new version`)
133134
}
134135
}

0 commit comments

Comments
 (0)