Skip to content

Commit

Permalink
fix: is it working?
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain committed Jun 13, 2024
1 parent 9087dee commit e81e97e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions action/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33155,12 +33155,14 @@ function setup() {
const binPath = yield tc.downloadTool(asset.url, destination, `token ${token}`, {
accept: 'application/octet-stream'
});
core.info(`Successfully downloaded network-hub to ${binPath}`);
core.info(`Destination: ${destination}`);
// list the files in the binPath
fs.readdirSync(__dirname).forEach(file => {
core.info(file);
});
core.info(`Successfully downloaded network-hub to ${binPath}`);
fs.chmodSync(binPath, '755');
core.info(`Defining permissions for ${destination}`);
fs.chmodSync(destination, '755');
//
// let extractArgs = core.getMultilineInput("extractArgs");
// let extractedPath = await tc.extractTar(binPath, undefined, extractArgs);
Expand Down
8 changes: 5 additions & 3 deletions action/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,16 @@ async function setup() {
}
);

core.info(`Successfully downloaded network-hub to ${binPath}`)
core.info(`Destination: ${destination}`)

// list the files in the binPath
fs.readdirSync(__dirname).forEach(file => {
core.info(file);
});

core.info(`Successfully downloaded network-hub to ${binPath}`)

fs.chmodSync(binPath, '755');
core.info(`Defining permissions for ${destination}`)
fs.chmodSync(destination, '755');
//
// let extractArgs = core.getMultilineInput("extractArgs");
// let extractedPath = await tc.extractTar(binPath, undefined, extractArgs);
Expand Down

0 comments on commit e81e97e

Please sign in to comment.