diff --git a/main.js b/main.js index 6fe5d35e..7ff54a54 100644 --- a/main.js +++ b/main.js @@ -253,7 +253,7 @@ async function main() { archive_format: "zip", }) } catch (error) { - if (error.message === "Artifact has expired") { + if (error.message.startsWith("Artifact has expired")) { return setExitMessage(ifNoArtifactFound, "no downloadable artifacts found (expired)") } else { throw new Error(error.message)