mirror of
https://github.com/gradle/actions.git
synced 2026-04-19 18:12:58 +08:00
f8858e0208
This reverts commit 6ac57d8041.
34 lines
948 B
TypeScript
34 lines
948 B
TypeScript
/** @public */
|
|
export declare interface BuildResult {
|
|
get rootProjectName(): string;
|
|
get rootProjectDir(): string;
|
|
get requestedTasks(): string;
|
|
get gradleVersion(): string;
|
|
get gradleHomeDir(): string;
|
|
get buildFailed(): boolean;
|
|
get configCacheHit(): boolean;
|
|
get buildScanUri(): string;
|
|
get buildScanFailed(): boolean;
|
|
}
|
|
|
|
/** @public */
|
|
export declare interface CacheOptions {
|
|
disabled: boolean;
|
|
readOnly: boolean;
|
|
writeOnly: boolean;
|
|
overwriteExisting: boolean;
|
|
strictMatch: boolean;
|
|
cleanup: string;
|
|
encryptionKey?: string;
|
|
includes: string[];
|
|
excludes: string[];
|
|
}
|
|
|
|
/** @public */
|
|
export declare function restore(gradleUserHome: string, cacheOptions: CacheOptions): Promise<void>;
|
|
|
|
/** @public */
|
|
export declare function save(gradleUserHome: string, buildResults: BuildResult[], cacheOptions: CacheOptions): Promise<string>;
|
|
|
|
export { }
|