added deprecation message

This commit is contained in:
AlyonaSviridenko
2021-01-29 16:44:28 +03:00
parent 5f29a1cd8d
commit 836363748e
3 changed files with 4 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ import * as cache from './cache';
export async function run() {
try {
core.info('Please note: this action is deprecated and will not be maintained in future by GitHub engineers. Please, migrate to https://github.com/ruby/setup-ruby from official Ruby community.');
let versionSpec = core.getInput('ruby-version', {required: true});
if (!versionSpec) {
// deprecated