mirror of
https://github.com/actions/toolkit.git
synced 2026-08-07 00:00:18 +02:00
Update packages/artifact/src/internal/find/list-artifacts.ts
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
co-authored by
Copilot
parent
70e79399a2
commit
fb592eec03
@@ -59,7 +59,7 @@ export async function listArtifactsPublic(
|
||||
const totalArtifactCount = listArtifactResponse.total_count
|
||||
if (totalArtifactCount > maximumArtifactCount) {
|
||||
warning(
|
||||
`Workflow run ${workflowRunId} has more than ${maximumArtifactCount} artifacts. Results will be incomplete as only the first ${maximumArtifactCount} artifacts will be returned`
|
||||
`Workflow run ${workflowRunId} has ${totalArtifactCount} artifacts, exceeding the limit of ${maximumArtifactCount}. Results will be incomplete as only the first ${maximumArtifactCount} artifacts will be returned`
|
||||
)
|
||||
numberOfPages = maxNumberOfPages
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user