ability to filter artifacts by latest

This commit is contained in:
Rob Herley
2023-12-03 05:01:20 +00:00
committed by GitHub
parent fa7657714a
commit c94ca49c9c
3 changed files with 65 additions and 8 deletions

View File

@@ -74,6 +74,15 @@ export interface GetArtifactResponse {
* ListArtifact *
* *
*****************************************************************************/
export interface ListArtifactsOptions {
/**
* Filter the workflow run's artifacts to the latest by name
* In the case of reruns, this can be useful to avoid duplicates
*/
latest?: boolean
}
export interface ListArtifactsResponse {
/**
* A list of artifacts that were found