mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 07:38:37 +08:00 
			
		
		
		
	Add warning
This commit is contained in:
		
							parent
							
								
									2c0830523b
								
							
						
					
					
						commit
						a2aae2e903
					
				
							
								
								
									
										1
									
								
								dist/save-only/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/save-only/index.js
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -66004,6 +66004,7 @@ function saveImpl(stateProvider) {
 | 
			
		|||
                utils.logWarning(`Event Validation Error: The event type ${process.env[constants_1.Events.Key]} is not supported because it's not tied to a branch or tag ref.`);
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
            core.info(`We're running from the awesome codebase!!!`);
 | 
			
		||||
            // If restore has stored a primary key in state, reuse that
 | 
			
		||||
            // Else re-evaluate from inputs
 | 
			
		||||
            const primaryKey = stateProvider.getState(constants_1.State.CachePrimaryKey) ||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -66004,6 +66004,7 @@ function saveImpl(stateProvider) {
 | 
			
		|||
                utils.logWarning(`Event Validation Error: The event type ${process.env[constants_1.Events.Key]} is not supported because it's not tied to a branch or tag ref.`);
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
            core.info(`We're running from the awesome codebase!!!`);
 | 
			
		||||
            // If restore has stored a primary key in state, reuse that
 | 
			
		||||
            // Else re-evaluate from inputs
 | 
			
		||||
            const primaryKey = stateProvider.getState(constants_1.State.CachePrimaryKey) ||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -32,6 +32,8 @@ export async function saveImpl(
 | 
			
		|||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        core.info(`We're running from the awesome codebase!!!`)
 | 
			
		||||
 | 
			
		||||
        // If restore has stored a primary key in state, reuse that
 | 
			
		||||
        // Else re-evaluate from inputs
 | 
			
		||||
        const primaryKey =
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user