mirror of
				https://kkgithub.com/actions/cache.git
				synced 2025-10-31 10:41:51 +08:00 
			
		
		
		
	Add warning
This commit is contained in:
		
							
								
								
									
										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.`); |                 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; |                 return; | ||||||
|             } |             } | ||||||
|  |             core.info(`We're running from the awesome codebase!!!`); | ||||||
|             // If restore has stored a primary key in state, reuse that
 |             // If restore has stored a primary key in state, reuse that
 | ||||||
|             // Else re-evaluate from inputs
 |             // Else re-evaluate from inputs
 | ||||||
|             const primaryKey = stateProvider.getState(constants_1.State.CachePrimaryKey) || |             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.`); |                 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; |                 return; | ||||||
|             } |             } | ||||||
|  |             core.info(`We're running from the awesome codebase!!!`); | ||||||
|             // If restore has stored a primary key in state, reuse that
 |             // If restore has stored a primary key in state, reuse that
 | ||||||
|             // Else re-evaluate from inputs
 |             // Else re-evaluate from inputs
 | ||||||
|             const primaryKey = stateProvider.getState(constants_1.State.CachePrimaryKey) || |             const primaryKey = stateProvider.getState(constants_1.State.CachePrimaryKey) || | ||||||
|  | |||||||
| @ -32,6 +32,8 @@ export async function saveImpl( | |||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         core.info(`We're running from the awesome codebase!!!`) | ||||||
|  |  | ||||||
|         // If restore has stored a primary key in state, reuse that |         // If restore has stored a primary key in state, reuse that | ||||||
|         // Else re-evaluate from inputs |         // Else re-evaluate from inputs | ||||||
|         const primaryKey = |         const primaryKey = | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Bassem Dghaidi
					Bassem Dghaidi