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

@@ -14,17 +14,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
result["default"] = mod;
return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const core = __importStar(require("@actions/core"));
const installer_1 = __importDefault(require("./installer"));
const installer_1 = require("./installer");
function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
const version = core.getInput('version');
yield installer_1.default(version);
yield installer_1.findRubyVersion(version);
}
catch (error) {
core.setFailed(error.message);