mirror of
				https://kkgithub.com/actions/cache.git
				synced 2025-11-04 12:41:50 +08:00 
			
		
		
		
	added debug logs
This commit is contained in:
		
							
								
								
									
										5
									
								
								dist/restore-only/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								dist/restore-only/index.js
									
									
									
									
										vendored
									
									
								
							@ -36767,11 +36767,16 @@ function runRestoreAction() {
 | 
				
			|||||||
        if (core.getInput(constants_1.Inputs.UploadChunkSize) != "") {
 | 
					        if (core.getInput(constants_1.Inputs.UploadChunkSize) != "") {
 | 
				
			||||||
            core.warning(`${constants_1.Inputs.UploadChunkSize} value is passed in the input, this input is invalid for the restore-only action and hence will be ignored`);
 | 
					            core.warning(`${constants_1.Inputs.UploadChunkSize} value is passed in the input, this input is invalid for the restore-only action and hence will be ignored`);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					        core.info("before run");
 | 
				
			||||||
        yield (0, restore_1.default)();
 | 
					        yield (0, restore_1.default)();
 | 
				
			||||||
 | 
					        core.info("after run");
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					core.info("before runRestoreAction");
 | 
				
			||||||
runRestoreAction();
 | 
					runRestoreAction();
 | 
				
			||||||
 | 
					core.info("after runRestoreAction");
 | 
				
			||||||
exports.default = runRestoreAction;
 | 
					exports.default = runRestoreAction;
 | 
				
			||||||
 | 
					core.info("after export default runRestoreAction");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/***/ }),
 | 
					/***/ }),
 | 
				
			||||||
 | 
				
			|||||||
@ -14,9 +14,15 @@ async function runRestoreAction(): Promise<void> {
 | 
				
			|||||||
            `${Inputs.UploadChunkSize} value is passed in the input, this input is invalid for the restore-only action and hence will be ignored`
 | 
					            `${Inputs.UploadChunkSize} value is passed in the input, this input is invalid for the restore-only action and hence will be ignored`
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    core.info("before run");
 | 
				
			||||||
    await run();
 | 
					    await run();
 | 
				
			||||||
 | 
					    core.info("after run");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					core.info("before runRestoreAction");
 | 
				
			||||||
runRestoreAction();
 | 
					runRestoreAction();
 | 
				
			||||||
 | 
					core.info("after runRestoreAction");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default runRestoreAction;
 | 
					export default runRestoreAction;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					core.info("after export default runRestoreAction");
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user