mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 15:48:39 +08:00 
			
		
		
		
	Don't edit index.js since that's not actually how you make changes
This commit is contained in:
		
							parent
							
								
									9806e2f37f
								
							
						
					
					
						commit
						12b3b8a0b8
					
				
							
								
								
									
										5
									
								
								dist/restore-only/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								dist/restore-only/index.js
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -59331,7 +59331,6 @@ var Outputs;
 | 
			
		|||
    Outputs["CacheHit"] = "cache-hit";
 | 
			
		||||
    Outputs["CachePrimaryKey"] = "cache-primary-key";
 | 
			
		||||
    Outputs["CacheMatchedKey"] = "cache-matched-key"; // Output from restore action
 | 
			
		||||
    Outputs["CachePath"] = "cache-path";
 | 
			
		||||
})(Outputs = exports.Outputs || (exports.Outputs = {}));
 | 
			
		||||
var State;
 | 
			
		||||
(function (State) {
 | 
			
		||||
| 
						 | 
				
			
			@ -59408,10 +59407,6 @@ function restoreImpl(stateProvider, earlyExit) {
 | 
			
		|||
            const primaryKey = core.getInput(constants_1.Inputs.Key, { required: true });
 | 
			
		||||
            stateProvider.setState(constants_1.State.CachePrimaryKey, primaryKey);
 | 
			
		||||
            const restoreKeys = utils.getInputAsArray(constants_1.Inputs.RestoreKeys);
 | 
			
		||||
 | 
			
		||||
            // Output the inputted path unchanged
 | 
			
		||||
            core.setOutput(constants_1.Outputs.CachePath, core.getInput(constants_1.Inputs.Path));
 | 
			
		||||
 | 
			
		||||
            const cachePaths = utils.getInputAsArray(constants_1.Inputs.Path, {
 | 
			
		||||
                required: true
 | 
			
		||||
            });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user