@jbrunton/gha-installer
Version:
GitHub Actions Installer
15 lines (14 loc) • 624 B
TypeScript
import { AppInfo } from './app_info';
import { ActionsCore, ActionsToolCache, FileSystem, Environment } from './interfaces';
import { DownloadService } from './download_service';
export declare class Installer<T> {
private _core;
private _cache;
private _fs;
private _env;
private _downloadService;
constructor(core: ActionsCore, cache: ActionsToolCache, fs: FileSystem, env: Environment, downloadService: DownloadService<T>);
installApp(app: AppInfo): Promise<void>;
installAll(apps: Array<AppInfo>): Promise<void>;
static create<T>(downloadService: DownloadService<T>): Installer<T>;
}