I have a multiple artifacts in my run, and one of them is expired. However the download loop stops regardless of the flag.
} catch (error) {
if (error.message.startsWith("Artifact has expired")) {
return setExitMessage(ifNoArtifactFound, "no downloadable artifacts found (expired)")
} else {
throw new Error(error.message)
}
Warn and ignore should not break the loop.