diff --git a/dist/index.js b/dist/index.js index ac648b4..f211e61 100644 --- a/dist/index.js +++ b/dist/index.js @@ -45623,10 +45623,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.obtainVersion = exports.BuildlessArgument = exports.BuildlessCommand = void 0; const core = __importStar(__nccwpck_require__(6813)); const exec = __importStar(__nccwpck_require__(2364)); -async function execBuildless(bin, args) { - core.debug(`Executing: bin=${bin}, args=${args}`); - await exec.exec(`"${bin}"`, args); -} +// async function execBuildless(bin: string, args?: string[]): Promise { +// core.debug(`Executing: bin=${bin}, args=${args}`) +// await exec.exec(`"${bin}"`, args) +// } /** * Enumerates available commands which can be run with the Buildless CLI tool. */ @@ -45773,6 +45773,7 @@ function notSupported(options) { } exports.notSupported = notSupported; async function postInstall(bin, options) { + console.log('postinstall', bin, options); // nothing yet } exports.postInstall = postInstall; @@ -46201,7 +46202,7 @@ async function maybeDownload(version, options) { // build resulting tarball path and resolved tool info let binPath = targetBin; /* istanbul ignore next */ - let binHome = options.target; + const binHome = options.target; let toolDir = null; try { toolDir = toolCache.find('buildless', version.tag_name, options.arch); @@ -46239,7 +46240,7 @@ async function maybeDownload(version, options) { throw err; } core.debug(`Buildless release downloaded to: ${toolArchive}`); - binHome = await unpackRelease(toolArchive, binHome, archiveType, options); + await unpackRelease(toolArchive, binHome, archiveType, options); } return { version, diff --git a/src/main.ts b/src/main.ts index e3d1270..03d5050 100644 --- a/src/main.ts +++ b/src/main.ts @@ -79,7 +79,10 @@ export function notSupported(options: Options): null | Error { } } -export async function postInstall(bin: string, options: Options): Promise { +export async function postInstall( + bin: string, + options: Options +): Promise { console.log('postinstall', bin, options) // nothing yet }