Remove hardcoded version (#11)
* Just write simple js * run ci on all branches * no longer require version * still need bundling * use bundled one
This commit is contained in:
@@ -19,7 +19,13 @@ module.exports =
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/ var threw = true;
|
||||
/******/ try {
|
||||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/ threw = false;
|
||||
/******/ } finally {
|
||||
/******/ if(threw) delete installedModules[moduleId];
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ // Flag the module as loaded
|
||||
/******/ module.l = true;
|
||||
@@ -34,7 +40,7 @@ module.exports =
|
||||
/******/ // the startup function
|
||||
/******/ function startup() {
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(475);
|
||||
/******/ return __webpack_require__(676);
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // run startup
|
||||
@@ -1981,29 +1987,6 @@ Object.defineProperty(exports, "toWin32Path", { enumerable: true, get: function
|
||||
Object.defineProperty(exports, "toPlatformPath", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } });
|
||||
//# sourceMappingURL=core.js.map
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 475:
|
||||
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
|
||||
|
||||
// Generated by Haxe 4.0.5
|
||||
(function ($global) { "use strict";
|
||||
var Main = function() { };
|
||||
Main.main = function() {
|
||||
var core = __webpack_require__(470);
|
||||
js_node_ChildProcess.execSync("yarn global add lix@" + core.getInput("lix-version"));
|
||||
var path = StringTools.replace(js_node_ChildProcess.execSync("yarn global bin").toString(),"\n","");
|
||||
core.addPath(path);
|
||||
};
|
||||
var StringTools = function() { };
|
||||
StringTools.replace = function(s,sub,by) {
|
||||
return s.split(sub).join(by);
|
||||
};
|
||||
var js_node_ChildProcess = __webpack_require__(129);
|
||||
Main.main();
|
||||
})({});
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 498:
|
||||
@@ -2512,6 +2495,19 @@ exports.summary = _summary;
|
||||
|
||||
module.exports = require("util");
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 676:
|
||||
/***/ (function(__unusedmodule, __unusedexports, __webpack_require__) {
|
||||
|
||||
const { execSync } = __webpack_require__(129);
|
||||
const core = __webpack_require__(470);
|
||||
const version = core.getInput("lix-version");
|
||||
execSync("yarn global add lix" + (version ? `@${version}` : ""));
|
||||
const path = execSync("yarn global bin").toString().replaceAll("\n", "");
|
||||
core.addPath(path);
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 695:
|
||||
|
Reference in New Issue
Block a user