Compare commits

...

1 Commits

Author SHA1 Message Date
Bot Githubaction a9cee88de3 Test with UNRELEASED gradle-actions-caching library v0.8.1-cc 2026-06-14 05:13:55 +00:00
3 changed files with 15 additions and 3 deletions
+12
View File
@@ -37,6 +37,8 @@ export declare interface CacheOptions {
strictMatch: boolean; strictMatch: boolean;
cleanup: 'always' | 'on-success' | 'never'; cleanup: 'always' | 'on-success' | 'never';
encryptionKey?: string; encryptionKey?: string;
develocityAccessToken?: string;
develocityServerUrl?: string;
includes: string[]; includes: string[];
excludes: string[]; excludes: string[];
} }
@@ -45,12 +47,22 @@ export declare interface CacheOptions {
export declare interface CacheReport { export declare interface CacheReport {
status: CacheStatus; status: CacheStatus;
cleanup?: CacheCleanupStatus; cleanup?: CacheCleanupStatus;
projectCache?: ProjectCacheStatus;
entries: CacheEntryReport[]; entries: CacheEntryReport[];
} }
/** @public */ /** @public */
export declare type CacheStatus = 'enabled' | 'read-only' | 'write-only' | 'disabled' | 'disabled-existing-home' | 'not-available'; 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 */ /** @public */
export declare function restore(gradleUserHome: string, cacheOptions: CacheOptions): Promise<void>; export declare function restore(gradleUserHome: string, cacheOptions: CacheOptions): Promise<void>;
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "gradle-actions-caching", "name": "gradle-actions-caching",
"version": "0.7.0", "version": "0.8.1-cc",
"type": "module", "type": "module",
"main": "./index.js", "main": "./index.js",
"types": "./index.d.ts", "types": "./index.d.ts",