mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 16:13:36 +00:00 
			
		
		
		
	dist
This commit is contained in:
		
							parent
							
								
									630cdb3874
								
							
						
					
					
						commit
						caa5717450
					
				
							
								
								
									
										8
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| @ -1141,7 +1141,9 @@ function prepareExistingDirectory(git_1, repositoryPath_1, repositoryUrl_1, clea | |||||||
|             // We still need to make sure we have a git repository to work with
 |             // We still need to make sure we have a git repository to work with
 | ||||||
|             if (!git) { |             if (!git) { | ||||||
|                 core.info(`Initializing git repository to prepare for checkout with preserved changes`); |                 core.info(`Initializing git repository to prepare for checkout with preserved changes`); | ||||||
|                 yield fs.promises.mkdir(path.join(repositoryPath, '.git'), { recursive: true }); |                 yield fs.promises.mkdir(path.join(repositoryPath, '.git'), { | ||||||
|  |                     recursive: true | ||||||
|  |                 }); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
| @ -1888,7 +1890,9 @@ function getInputs() { | |||||||
|         result.clean = (core.getInput('clean') || 'true').toUpperCase() === 'TRUE'; |         result.clean = (core.getInput('clean') || 'true').toUpperCase() === 'TRUE'; | ||||||
|         core.debug(`clean = ${result.clean}`); |         core.debug(`clean = ${result.clean}`); | ||||||
|         // Preserve local changes
 |         // Preserve local changes
 | ||||||
|         result.preserveLocalChanges = (core.getInput('preserve-local-changes') || 'false').toUpperCase() === 'TRUE'; |         result.preserveLocalChanges = | ||||||
|  |             (core.getInput('preserve-local-changes') || 'false').toUpperCase() === | ||||||
|  |                 'TRUE'; | ||||||
|         core.debug(`preserveLocalChanges = ${result.preserveLocalChanges}`); |         core.debug(`preserveLocalChanges = ${result.preserveLocalChanges}`); | ||||||
|         // Filter
 |         // Filter
 | ||||||
|         const filter = core.getInput('filter'); |         const filter = core.getInput('filter'); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user