Fix bug. Add workflows.

This commit is contained in:
Stephen Franceschelli
2019-07-15 13:23:24 -04:00
parent 9098200950
commit e3283467a1
7049 changed files with 1866416 additions and 13 deletions

View File

@@ -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;