@@ -352,7 +352,7 @@ export async function getArtifactsForBranchAndWorkflow(octokit, { owner, repo, w
352
352
}
353
353
354
354
if ( ! repositoryWorkflow ) {
355
- core . debug (
355
+ core . info (
356
356
`Unable to find workflow with name "${ workflowName } " in the repository. Found workflows: ${ allWorkflows . join (
357
357
', ' ,
358
358
) } `,
@@ -368,7 +368,7 @@ export async function getArtifactsForBranchAndWorkflow(octokit, { owner, repo, w
368
368
const completedWorkflowRuns = [ ] ;
369
369
370
370
core . info ( 'Get runs for:' ) ;
371
- core . info ( {
371
+ console . log ( {
372
372
workflow_id,
373
373
branch,
374
374
status : 'success' ,
@@ -385,7 +385,7 @@ export async function getArtifactsForBranchAndWorkflow(octokit, { owner, repo, w
385
385
per_page : DEFAULT_PAGE_LIMIT ,
386
386
event : 'push' ,
387
387
} ) ) {
388
- console . log ( response ) ;
388
+ console . log ( ' response' , response . data . length ) ;
389
389
if ( ! response . data . length ) {
390
390
core . warning ( `Workflow ${ workflow_id } not found in branch ${ branch } ` ) ;
391
391
core . endGroup ( ) ;
@@ -412,7 +412,7 @@ export async function getArtifactsForBranchAndWorkflow(octokit, { owner, repo, w
412
412
413
413
// Search through workflow artifacts until we find a workflow run w/ artifact name that we are looking for
414
414
for ( const workflowRun of completedWorkflowRuns ) {
415
- core . debug ( `Checking artifacts for workflow run: ${ workflowRun . html_url } ` ) ;
415
+ core . info ( `Checking artifacts for workflow run: ${ workflowRun . html_url } ` ) ;
416
416
417
417
const {
418
418
data : { artifacts } ,
@@ -423,13 +423,13 @@ export async function getArtifactsForBranchAndWorkflow(octokit, { owner, repo, w
423
423
} ) ;
424
424
425
425
if ( ! artifacts ) {
426
- core . debug (
426
+ core . info (
427
427
`Unable to fetch artifacts for branch: ${ branch } , workflow: ${ workflow_id } , workflowRunId: ${ workflowRun . id } ` ,
428
428
) ;
429
429
} else {
430
430
const foundArtifact = artifacts . find ( ( { name } ) => name === artifactName ) ;
431
431
if ( foundArtifact ) {
432
- core . debug ( `Found suitable artifact: ${ foundArtifact . url } ` ) ;
432
+ core . info ( `Found suitable artifact: ${ foundArtifact . url } ` ) ;
433
433
return {
434
434
artifact : foundArtifact ,
435
435
workflowRun,
0 commit comments