Added findRubyVersion tests
This commit is contained in:
@@ -15,6 +15,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
||||
return result;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const core = __importStar(require("@actions/core"));
|
||||
const exec = __importStar(require("@actions/exec"));
|
||||
const tc = __importStar(require("@actions/tool-cache"));
|
||||
const path = __importStar(require("path"));
|
||||
@@ -33,6 +34,7 @@ function default_1(version) {
|
||||
const dest = '/usr/bin/ruby';
|
||||
exec.exec('sudo ln', ['-sf', path.join(toolPath, 'ruby'), dest]); // replace any existing
|
||||
}
|
||||
core.addPath(toolPath);
|
||||
});
|
||||
}
|
||||
exports.default = default_1;
|
||||
|
||||
Reference in New Issue
Block a user