From 4ff1d57df89262dfce7287d8403860660df759df Mon Sep 17 00:00:00 2001 From: Rob Herley Date: Sun, 3 Dec 2023 20:52:36 +0000 Subject: [PATCH] more docs --- src/internal/client.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/internal/client.ts b/src/internal/client.ts index 9755965..45ba0bf 100644 --- a/src/internal/client.ts +++ b/src/internal/client.ts @@ -51,6 +51,7 @@ export interface ArtifactClient { /** * Finds an artifact by name. + * If there are multiple artifacts with the same name in the same workflow run, this will return the latest. * * If options.findBy is specified, this will use the public List Artifacts API with a name filter which can get artifacts from other runs. * https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28#list-workflow-run-artifacts