Fix.
This commit is contained in:
13
src/setup-ruby.ts
Normal file
13
src/setup-ruby.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import * as core from '@actions/core';
|
||||
import findRubyVersion from './installer';
|
||||
|
||||
async function run() {
|
||||
try {
|
||||
const version = core.getInput('version');
|
||||
await findRubyVersion(version);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
}
|
||||
|
||||
run();
|
||||
Reference in New Issue
Block a user