mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-07-30 08:11:59 +08:00
Dont skip pages
This commit is contained in:
parent
ec9716b3cc
commit
780e24be34
@ -70,14 +70,14 @@ export async function listArtifactsPublic(
|
||||
createdAt: artifact.created_at ? new Date(artifact.created_at) : undefined
|
||||
})
|
||||
}
|
||||
|
||||
// Move to the next page
|
||||
currentPageNumber++
|
||||
// Iterate over any remaining pages
|
||||
for (
|
||||
currentPageNumber;
|
||||
currentPageNumber < numberOfPages;
|
||||
currentPageNumber++
|
||||
) {
|
||||
currentPageNumber++
|
||||
debug(`Fetching page ${currentPageNumber} of artifact list`)
|
||||
|
||||
const {data: listArtifactResponse} =
|
||||
|
Loading…
x
Reference in New Issue
Block a user