From 833668621d33925b46325361075309c4f3ce3254 Mon Sep 17 00:00:00 2001 From: eggyhead <28715808+eggyhead@users.noreply.github.com> Date: Thu, 18 Jan 2024 04:14:39 +0000 Subject: [PATCH] update message for internal method --- src/internal/find/get-artifact.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/internal/find/get-artifact.ts b/src/internal/find/get-artifact.ts index a7b9f1b..cbc5f13 100644 --- a/src/internal/find/get-artifact.ts +++ b/src/internal/find/get-artifact.ts @@ -91,7 +91,9 @@ export async function getArtifactInternal( if (res.artifacts.length === 0) { throw new ArtifactNotFoundError( - `Artifact not found for name: ${artifactName}` + `Artifact not found for name: ${artifactName}\n + Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.\n + For more information, visit the Github Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md` ) }