mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 00:46:38 +07:00 
			
		
		
		
	test
This commit is contained in:
		
							
								
								
									
										1
									
								
								dist/restore-only/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/restore-only/index.js
									
									
									
									
										vendored
									
									
								
							@ -36775,7 +36775,6 @@ function runRestoreAction() {
 | 
			
		||||
core.info("before runRestoreAction");
 | 
			
		||||
runRestoreAction();
 | 
			
		||||
core.info("after runRestoreAction");
 | 
			
		||||
// export default runRestoreAction;
 | 
			
		||||
core.info("after export default runRestoreAction");
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
import * as core from "@actions/core";
 | 
			
		||||
 | 
			
		||||
import { Inputs } from "./constants";
 | 
			
		||||
import run from "./restore";
 | 
			
		||||
import restore from "./restore";
 | 
			
		||||
 | 
			
		||||
async function runRestoreAction(): Promise<void> {
 | 
			
		||||
    if (core.getInput(Inputs.SaveOnAnyFailure) != "") {
 | 
			
		||||
@ -15,7 +15,7 @@ async function runRestoreAction(): Promise<void> {
 | 
			
		||||
        );
 | 
			
		||||
    }
 | 
			
		||||
    core.info("before run");
 | 
			
		||||
    await run();
 | 
			
		||||
    await restore();
 | 
			
		||||
    core.info("after run");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -23,6 +23,4 @@ core.info("before runRestoreAction");
 | 
			
		||||
runRestoreAction();
 | 
			
		||||
core.info("after runRestoreAction");
 | 
			
		||||
 | 
			
		||||
// export default runRestoreAction;
 | 
			
		||||
 | 
			
		||||
core.info("after export default runRestoreAction");
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user