added core.info

This commit is contained in:
AlyonaSviridenko
2021-02-03 14:43:32 +03:00
parent 836363748e
commit e0c4d78b1a

View File

@@ -3,7 +3,11 @@ 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.');
core.info('------------------------');
core.info('NOTE: this action is deprecated and will not be maintained in future by GitHub engineers.');
core.info('Please, migrate to https://github.com/ruby/setup-ruby from official Ruby community.');
core.info('------------------------');
let versionSpec = core.getInput('ruby-version', {required: true});
if (!versionSpec) {
// deprecated