Skip to content

Commit

Permalink
chore: add logging for files being added to the git tree
Browse files Browse the repository at this point in the history
Added console logs to track files in action.yml during tree creation.
  • Loading branch information
gentlementlegen committed Oct 31, 2024
1 parent c9258e6 commit 82d9a02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ runs:
ref
});
console.log("Adding file:", manifestPath);
console.log('Adding file:', manifestPath);
const newTree = await octokit.rest.git.createTree({
owner,
repo,
Expand All @@ -185,7 +185,7 @@ runs:
},
...fs.readdirSync('${{ github.workspace }}/dist').map((file) => {
const relativePath = path.relative('.', '${{ github.workspace }}/dist/' + file);
console.log("Adding file:", '${{ github.workspace }}/dist/' + file);
console.log('Adding file:', '${{ github.workspace }}/dist/' + file);
return {
path: relativePath,
mode: '100644',
Expand Down

0 comments on commit 82d9a02

Please sign in to comment.