This commit is contained in:
Kevin Leung
2020-03-11 21:59:55 +08:00
commit 83b1981709
10 changed files with 82 additions and 0 deletions

15
build/index.js Normal file
View File

@@ -0,0 +1,15 @@
// Generated by Haxe 4.0.5
(function ($global) { "use strict";
var Main = function() { };
Main.main = function() {
var version = require("@actions/core").getInput("lix-version");
var args = ["global","add","lix@" + version];
if(args == null) {
js_node_ChildProcess.spawnSync("yarn",{ shell : true, stdio : "inherit"});
} else {
js_node_ChildProcess.spawnSync("yarn",args,{ stdio : "inherit"});
}
};
var js_node_ChildProcess = require("child_process");
Main.main();
})({});