mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 15:26:24 +07:00 
			
		
		
		
	review comment
This commit is contained in:
		| @ -47,11 +47,10 @@ async function run(): Promise<void> { | |||||||
|         const cacheId = await cache.saveCache(cachePaths, primaryKey, { |         const cacheId = await cache.saveCache(cachePaths, primaryKey, { | ||||||
|             uploadChunkSize: utils.getInputAsInt(Inputs.UploadChunkSize) |             uploadChunkSize: utils.getInputAsInt(Inputs.UploadChunkSize) | ||||||
|         }); |         }); | ||||||
|         if (cacheId == -1) { |  | ||||||
|             return; |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|         core.info(`Cache saved with key: ${primaryKey}`); |         if (cacheId != -1) { | ||||||
|  |             core.info(`Cache saved with key: ${primaryKey}`); | ||||||
|  |         } | ||||||
|     } catch (error: unknown) { |     } catch (error: unknown) { | ||||||
|         utils.logWarning((error as Error).message); |         utils.logWarning((error as Error).message); | ||||||
|     } |     } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Shubham Tiwari
					Shubham Tiwari