Fix bug. Add workflows.
This commit is contained in:
@@ -20,7 +20,7 @@ const exec = __importStar(require("@actions/exec"));
|
||||
const tc = __importStar(require("@actions/tool-cache"));
|
||||
const path = __importStar(require("path"));
|
||||
const IS_WINDOWS = process.platform === 'win32';
|
||||
function default_1(version) {
|
||||
function findRubyVersion(version) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const installDir = tc.find('Ruby', version);
|
||||
if (!installDir) {
|
||||
@@ -37,4 +37,4 @@ function default_1(version) {
|
||||
core.addPath(toolPath);
|
||||
});
|
||||
}
|
||||
exports.default = default_1;
|
||||
exports.findRubyVersion = findRubyVersion;
|
||||
|
||||
Reference in New Issue
Block a user