This commit is contained in:
peaceiris 2019-09-23 10:15:16 +09:00
parent 1fdd461e72
commit 4f3945160f
10 changed files with 10 additions and 6 deletions

View file

@ -36,7 +36,6 @@ function installer(version) {
const hugoPath = `${process.env.HOME}/bin`;
yield io.mkdirP(hugoPath);
core.addPath(hugoPath);
// Download and extract Hugo binary
const hugoAssets = yield tc.downloadTool(hugoURL);
let hugoBin = '';
if (osName === 'Windows') {
@ -55,3 +54,4 @@ function installer(version) {
});
}
exports.default = installer;
//# sourceMappingURL=installer.js.map