mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 14:27:10 +01:00
Add artifact input to action.yml + improve logging
This commit is contained in:
parent
3510d9ac27
commit
075144b122
5 changed files with 30 additions and 3 deletions
|
|
@ -68,7 +68,9 @@ export async function listFiles(octokit: InstanceType<typeof GitHub>, sha: strin
|
|||
commit_sha: sha,
|
||||
...github.context.repo
|
||||
})
|
||||
return await listGitTree(octokit, commit.data.tree.sha, '')
|
||||
const files = await listGitTree(octokit, commit.data.tree.sha, '')
|
||||
core.info(`Found ${files.length} files tracked by GitHub in commit ${sha}`)
|
||||
return files
|
||||
}
|
||||
|
||||
async function listGitTree(octokit: InstanceType<typeof GitHub>, sha: string, path: string): Promise<string[]> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue