Init
This commit is contained in:
15
build/index.js
Normal file
15
build/index.js
Normal 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();
|
||||
})({});
|
Reference in New Issue
Block a user