mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 20:08:36 +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["CacheHit"] = "cache-hit"; | ||||||
|     Outputs["CachePrimaryKey"] = "cache-primary-key"; |     Outputs["CachePrimaryKey"] = "cache-primary-key"; | ||||||
|     Outputs["CacheMatchedKey"] = "cache-matched-key"; // Output from restore action
 |     Outputs["CacheMatchedKey"] = "cache-matched-key"; // Output from restore action
 | ||||||
|     Outputs["CachePath"] = "cache-path"; |  | ||||||
| })(Outputs = exports.Outputs || (exports.Outputs = {})); | })(Outputs = exports.Outputs || (exports.Outputs = {})); | ||||||
| var State; | var State; | ||||||
| (function (State) { | (function (State) { | ||||||
|  | @ -59408,10 +59407,6 @@ function restoreImpl(stateProvider, earlyExit) { | ||||||
|             const primaryKey = core.getInput(constants_1.Inputs.Key, { required: true }); |             const primaryKey = core.getInput(constants_1.Inputs.Key, { required: true }); | ||||||
|             stateProvider.setState(constants_1.State.CachePrimaryKey, primaryKey); |             stateProvider.setState(constants_1.State.CachePrimaryKey, primaryKey); | ||||||
|             const restoreKeys = utils.getInputAsArray(constants_1.Inputs.RestoreKeys); |             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, { |             const cachePaths = utils.getInputAsArray(constants_1.Inputs.Path, { | ||||||
|                 required: true |                 required: true | ||||||
|             }); |             }); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Ella Kramer
						Ella Kramer