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 aca2f76 commit c9258e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ runs:
ref
});
console.log("Adding file:", manifestPath);
const newTree = await octokit.rest.git.createTree({
owner,
repo,
Expand All @@ -184,6 +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);
return {
path: relativePath,
mode: '100644',
Expand Down

0 comments on commit c9258e6

Please sign in to comment.