diff --git a/action/dist/index.js b/action/dist/index.js index c6e688d..5f029fb 100644 --- a/action/dist/index.js +++ b/action/dist/index.js @@ -33092,6 +33092,7 @@ const core = __importStar(__nccwpck_require__(2186)); const tc = __importStar(__nccwpck_require__(7784)); const github = __importStar(__nccwpck_require__(5438)); const process = __importStar(__nccwpck_require__(7282)); +const fs = __importStar(__nccwpck_require__(7147)); function getExecutableName() { let platform; switch (process.platform) { @@ -33152,6 +33153,10 @@ function setup() { const binPath = yield tc.downloadTool(asset.url, undefined, `token ${token}`, { accept: 'application/octet-stream' }); + // list the files in the binPath + fs.readdirSync(binPath).forEach(file => { + core.info(file); + }); core.info(`Successfully downloaded network-hub to ${binPath}`); // // let extractArgs = core.getMultilineInput("extractArgs"); diff --git a/action/src/index.ts b/action/src/index.ts index 564afe0..77e4bc5 100644 --- a/action/src/index.ts +++ b/action/src/index.ts @@ -2,6 +2,7 @@ import * as core from '@actions/core'; import * as tc from '@actions/tool-cache'; import * as github from '@actions/github'; import * as process from 'process'; +import * as fs from 'fs'; function getExecutableName(): string { let platform: string @@ -45,7 +46,6 @@ async function setup() { } core.setOutput('version', version) - core.info(`Installing networkHub version ${version}`) // set up auth/environment @@ -81,6 +81,11 @@ async function setup() { } ); + // list the files in the binPath + fs.readdirSync(binPath).forEach(file => { + core.info(file); + }); + core.info(`Successfully downloaded network-hub to ${binPath}`) // // let extractArgs = core.getMultilineInput("extractArgs");