Unverified Commit bbaaec0d authored by Bot Githubaction's avatar Bot Githubaction Committed by GitHub
Browse files

Update gradle-actions-caching library to v0.8.0 (#993)

Updates to the latest gradle-actions-caching library, bringing experimental support for caching of project content.
parent 54d3208a
Loading
Loading
Loading
Loading
+12
Changes for sources/vendor/gradle-actions-caching/index.d.ts: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -37,6 +37,8 @@ export declare interface CacheOptions {
    strictMatch: boolean;
    cleanup: 'always' | 'on-success' | 'never';
    encryptionKey?: string;
    develocityAccessToken?: string;
    develocityServerUrl?: string;
    includes: string[];
    excludes: string[];
}
@@ -45,12 +47,22 @@ export declare interface CacheOptions {
export declare interface CacheReport {
    status: CacheStatus;
    cleanup?: CacheCleanupStatus;
    projectCache?: ProjectCacheStatus;
    entries: CacheEntryReport[];
}

/** @public */
export declare type CacheStatus = 'enabled' | 'read-only' | 'write-only' | 'disabled' | 'disabled-existing-home' | 'not-available';

/**
 * Status of project-entry caching (build-logic artifacts + configuration-cache data) for a run.
 * The first three are set on restore (always ungated); the rest are set on save and reflect the
 * two-tier gate (opt-in + Develocity trial, then encryption key + Gradle version). Still beta.
 *
 * @public
 */
declare type ProjectCacheStatus = 'not-enabled' | 'trial-expired' | 'trial-not-licensed' | 'no-encryption-key' | 'enabled';

/** @public */
export declare function restore(gradleUserHome: string, cacheOptions: CacheOptions): Promise<void>;

+2 −2

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Changes for sources/vendor/gradle-actions-caching/package.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
{
  "name": "gradle-actions-caching",
  "version": "0.7.0",
  "version": "0.8.0",
  "type": "module",
  "main": "./index.js",
  "types": "./index.d.ts",