mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 16:03:35 +00:00 
			
		
		
		
	README.md: document the outputs
This commit is contained in:
		
							parent
							
								
									cbb722410c
								
							
						
					
					
						commit
						0e208935da
					
				
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
								
							| @ -129,6 +129,18 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/ | ||||
| ``` | ||||
| <!-- end usage --> | ||||
| 
 | ||||
| # Outputs | ||||
| 
 | ||||
| The action sets some outputs after a successful run | ||||
| ```yaml | ||||
| outputs: | ||||
|   ref: | ||||
|     description: 'The branch, tag or SHA that was checked out' | ||||
| 
 | ||||
|   commit: | ||||
|     description: 'The commit SHA that was checked out' | ||||
| ``` | ||||
| 
 | ||||
| # Scenarios | ||||
| 
 | ||||
| - [Fetch only the root files](#Fetch-only-the-root-files) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user