@actions/artifact
Version:
Actions artifact lib
8 lines (7 loc) • 633 B
TypeScript
import { DownloadArtifactOptions, DownloadArtifactResponse, StreamExtractResponse } from '../shared/interfaces.js';
export declare function streamExtractExternal(url: string, directory: string, opts?: {
timeout?: number;
skipDecompress?: boolean;
}): Promise<StreamExtractResponse>;
export declare function downloadArtifactPublic(artifactId: number, repositoryOwner: string, repositoryName: string, token: string, options?: DownloadArtifactOptions): Promise<DownloadArtifactResponse>;
export declare function downloadArtifactInternal(artifactId: number, options?: DownloadArtifactOptions): Promise<DownloadArtifactResponse>;