ncc
This commit is contained in:
parent
28dbdfa364
commit
888750439c
1 changed files with 2 additions and 1 deletions
|
|
@ -5153,6 +5153,7 @@ const tc = __importStar(__webpack_require__(533));
|
|||
const io = __importStar(__webpack_require__(1));
|
||||
const get_os_1 = __importDefault(__webpack_require__(443));
|
||||
const get_url_1 = __importDefault(__webpack_require__(901));
|
||||
const path = __importStar(__webpack_require__(622));
|
||||
function installer(version) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
|
|
@ -5162,7 +5163,7 @@ function installer(version) {
|
|||
console.log(`Operating System: ${osName}`);
|
||||
const hugoURL = get_url_1.default(osName, extended, version);
|
||||
core.debug(`hugoURL: ${hugoURL}`);
|
||||
const hugoPath = `${process.env.HOME}/bin`;
|
||||
const hugoPath = path.join(`${process.env.HOME}`, 'bin');
|
||||
yield io.mkdirP(hugoPath);
|
||||
core.addPath(hugoPath);
|
||||
const hugoAssets = yield tc.downloadTool(hugoURL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue