mirror of
				https://code.forgejo.org/actions/checkout.git
				synced 2025-10-31 04:52:29 +00:00 
			
		
		
		
	README.md: document the outputs
This commit is contained in:
		
							parent
							
								
									cbb722410c
								
							
						
					
					
						commit
						0e208935da
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
										
									
									
									
								
							|  | @ -129,6 +129,18 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/ | ||||||
| ``` | ``` | ||||||
| <!-- end usage --> | <!-- 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 | # Scenarios | ||||||
| 
 | 
 | ||||||
| - [Fetch only the root files](#Fetch-only-the-root-files) | - [Fetch only the root files](#Fetch-only-the-root-files) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue