From 82d9a02cd64a1aec7b04b0a59bb41e2e845e848a Mon Sep 17 00:00:00 2001 From: gentlementlegen Date: Thu, 31 Oct 2024 14:21:25 +0900 Subject: [PATCH] chore: add logging for files being added to the git tree Added console logs to track files in action.yml during tree creation. --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 190fdab..2080787 100644 --- a/action.yml +++ b/action.yml @@ -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, @@ -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',