mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-04 14:48:39 +08:00 
			
		
		
		
	Improve multi-repo checkout behavior
This commit is contained in:
		
							parent
							
								
									1f9a0c22da
								
							
						
					
					
						commit
						cd866a98fb
					
				| 
						 | 
					@ -158,6 +158,8 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Checkout multiple repos (nested)
 | 
					## Checkout multiple repos (nested)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Note: the checkout order must be primary _then_ secondary repo checkout.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
- name: Checkout
 | 
					- name: Checkout
 | 
				
			||||||
  uses: actions/checkout@v3
 | 
					  uses: actions/checkout@v3
 | 
				
			||||||
| 
						 | 
					@ -171,6 +173,8 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Checkout multiple repos (private)
 | 
					## Checkout multiple repos (private)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Note: the checkout order must be primary _then_ secondary repo checkout.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
- name: Checkout
 | 
					- name: Checkout
 | 
				
			||||||
  uses: actions/checkout@v3
 | 
					  uses: actions/checkout@v3
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user