mirror of
				https://github.com/gradle/gradle-build-action.git
				synced 2025-11-04 09:58:56 +08:00 
			
		
		
		
	Update for Gradle 8.1 release
With Gradle 8.1, the configuration-cache has changed and is now stable. As a temporary measure, this commit disables save/restore of the configuration-cache data to avoid issues until we can deal with this change properly.
This commit is contained in:
		
							
								
								
									
										6
									
								
								dist/main/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								dist/main/index.js
									
									
									
									
										vendored
									
									
								
							@@ -63664,7 +63664,6 @@ class GradleStateCache {
 | 
			
		||||
        return __awaiter(this, void 0, void 0, function* () {
 | 
			
		||||
            yield this.debugReportGradleUserHomeSize('as restored from cache');
 | 
			
		||||
            yield new cache_extract_entries_1.GradleHomeEntryExtractor(this.gradleUserHome).restore(listener);
 | 
			
		||||
            yield new cache_extract_entries_1.ConfigurationCacheEntryExtractor(this.gradleUserHome).restore(listener);
 | 
			
		||||
            yield this.debugReportGradleUserHomeSize('after restoring common artifacts');
 | 
			
		||||
        });
 | 
			
		||||
    }
 | 
			
		||||
@@ -63703,8 +63702,7 @@ class GradleStateCache {
 | 
			
		||||
            yield this.debugReportGradleUserHomeSize('before saving common artifacts');
 | 
			
		||||
            this.deleteExcludedPaths();
 | 
			
		||||
            yield Promise.all([
 | 
			
		||||
                new cache_extract_entries_1.GradleHomeEntryExtractor(this.gradleUserHome).extract(listener),
 | 
			
		||||
                new cache_extract_entries_1.ConfigurationCacheEntryExtractor(this.gradleUserHome).extract(listener)
 | 
			
		||||
                new cache_extract_entries_1.GradleHomeEntryExtractor(this.gradleUserHome).extract(listener)
 | 
			
		||||
            ]);
 | 
			
		||||
            yield this.debugReportGradleUserHomeSize("after extracting common artifacts (only 'caches' and 'notifications' will be stored)");
 | 
			
		||||
        });
 | 
			
		||||
@@ -64449,7 +64447,7 @@ const exec = __importStar(__nccwpck_require__(1514));
 | 
			
		||||
const crypto = __importStar(__nccwpck_require__(6113));
 | 
			
		||||
const path = __importStar(__nccwpck_require__(1017));
 | 
			
		||||
const fs = __importStar(__nccwpck_require__(7147));
 | 
			
		||||
const CACHE_PROTOCOL_VERSION = 'v6-';
 | 
			
		||||
const CACHE_PROTOCOL_VERSION = 'v7-';
 | 
			
		||||
const JOB_CONTEXT_PARAMETER = 'workflow-job-context';
 | 
			
		||||
const CACHE_DISABLED_PARAMETER = 'cache-disabled';
 | 
			
		||||
const CACHE_READONLY_PARAMETER = 'cache-read-only';
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								dist/main/index.js.map
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/main/index.js.map
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user