listArtifacts

abstract fun listArtifacts(options: ListArtifactsOptions = definedExternally): Promise<ListArtifactsResponse>(source)

Lists all artifacts that are part of the current workflow run. This function will return at most 1000 artifacts per workflow run.

If options.findBy is specified, this will call the public List-Artifacts API which can list from other runs. https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28#list-workflow-run-artifacts

Parameters

options

Extra options that allow for the customization of the list behavior