mirror of
				https://gitea.com/actions/cache.git
				synced 2025-10-29 07:47:12 +00:00 
			
		
		
		
	new build
This commit is contained in:
		
							
								
								
									
										5
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -48245,11 +48245,12 @@ function run() { | |||||||
|                 core.info(`Cache restored from key: ${cacheKey}`); |                 core.info(`Cache restored from key: ${cacheKey}`); | ||||||
|             } |             } | ||||||
|             catch (error) { |             catch (error) { | ||||||
|                 if (error.name === cache.ValidationError.name) { |                 const typedError = error; | ||||||
|  |                 if (typedError.name === cache.ValidationError.name) { | ||||||
|                     throw error; |                     throw error; | ||||||
|                 } |                 } | ||||||
|                 else { |                 else { | ||||||
|                     utils.logWarning(error.message); |                     utils.logWarning(typedError.message); | ||||||
|                     utils.setCacheHitOutput(false); |                     utils.setCacheHitOutput(false); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|   | |||||||
							
								
								
									
										9
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -46645,14 +46645,15 @@ function run() { | |||||||
|                 core.info(`Cache saved with key: ${primaryKey}`); |                 core.info(`Cache saved with key: ${primaryKey}`); | ||||||
|             } |             } | ||||||
|             catch (error) { |             catch (error) { | ||||||
|                 if (error.name === cache.ValidationError.name) { |                 const typedError = error; | ||||||
|  |                 if (typedError.name === cache.ValidationError.name) { | ||||||
|                     throw error; |                     throw error; | ||||||
|                 } |                 } | ||||||
|                 else if (error.name === cache.ReserveCacheError.name) { |                 else if (typedError.name === cache.ReserveCacheError.name) { | ||||||
|                     core.info(error.message); |                     core.info(typedError.message); | ||||||
|                 } |                 } | ||||||
|                 else { |                 else { | ||||||
|                     utils.logWarning(error.message); |                     utils.logWarning(typedError.message); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Deepak Dahiya
					Deepak Dahiya