mirror of
				https://github.com/gradle/gradle-build-action.git
				synced 2025-11-04 09:58:56 +08:00 
			
		
		
		
	Exclude cc-keystore from Gradle User Home
This commit is contained in:
		@@ -144,7 +144,7 @@ export class GradleStateCache {
 | 
			
		||||
     */
 | 
			
		||||
    private async deleteExcludedPaths(): Promise<void> {
 | 
			
		||||
        const rawPaths: string[] = params.getCacheExcludes()
 | 
			
		||||
        // rawPaths.push('caches/*/cc-keystore')
 | 
			
		||||
        rawPaths.push('caches/*/cc-keystore')
 | 
			
		||||
        const resolvedPaths = rawPaths.map(x => path.resolve(this.gradleUserHome, x))
 | 
			
		||||
 | 
			
		||||
        for (const p of resolvedPaths) {
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@ import * as params from './input-params'
 | 
			
		||||
 | 
			
		||||
import {CacheEntryListener} from './cache-reporting'
 | 
			
		||||
 | 
			
		||||
const CACHE_PROTOCOL_VERSION = 'v8-'
 | 
			
		||||
const CACHE_PROTOCOL_VERSION = 'v9-'
 | 
			
		||||
 | 
			
		||||
const CACHE_KEY_PREFIX_VAR = 'GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX'
 | 
			
		||||
const CACHE_KEY_OS_VAR = 'GRADLE_BUILD_ACTION_CACHE_KEY_ENVIRONMENT'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user