mirror of https://github.com/actions/cache.git
				
				
				
			Updated dist for save
This commit is contained in:
		
							parent
							
								
									919a100745
								
							
						
					
					
						commit
						286fe1ac83
					
				| 
						 | 
					@ -47298,8 +47298,7 @@ function run() {
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            const state = utils.getCacheState();
 | 
					            const state = utils.getCacheState();
 | 
				
			||||||
            // Inputs are re-evaluted before the post action, so we want the original key used for restore
 | 
					            // Inputs are re-evaluted before the post action, so we want the original key used for restore
 | 
				
			||||||
            //const primaryKey = core.getState(State.CachePrimaryKey);
 | 
					            const primaryKey = core.getState(constants_1.State.CachePrimaryKey) || core.getInput(constants_1.Inputs.Key);
 | 
				
			||||||
            const primaryKey = core.getInput(constants_1.Inputs.Key);
 | 
					 | 
				
			||||||
            if (!primaryKey) {
 | 
					            if (!primaryKey) {
 | 
				
			||||||
                utils.logWarning(`Error retrieving key from state.`);
 | 
					                utils.logWarning(`Error retrieving key from state.`);
 | 
				
			||||||
                return;
 | 
					                return;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue