mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-26 02:26:19 +08:00
Bump cache-protocol version
This commit is contained in:
parent
a94b9252d5
commit
f901ec9c20
@ -19,7 +19,7 @@ export function isCacheDebuggingEnabled(): boolean {
|
|||||||
|
|
||||||
export function getCacheKeyPrefix(): string {
|
export function getCacheKeyPrefix(): string {
|
||||||
// Prefix can be used to force change all cache keys (defaults to cache protocol version)
|
// Prefix can be used to force change all cache keys (defaults to cache protocol version)
|
||||||
return process.env['CACHE_KEY_PREFIX'] || 'v2-'
|
return process.env['CACHE_KEY_PREFIX'] || 'v3-'
|
||||||
}
|
}
|
||||||
|
|
||||||
function generateCacheKey(cacheName: string): CacheKey {
|
function generateCacheKey(cacheName: string): CacheKey {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user