mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 10:08:37 +08:00 
			
		
		
		
	SSH submodules
This commit is contained in:
		
							parent
							
								
									b8bc84b504
								
							
						
					
					
						commit
						dbdab78b54
					
				|  | @ -180,7 +180,8 @@ jobs: | |||
| - name: Checkout submodules | ||||
|   shell: bash | ||||
|   run: | | ||||
|     git config --global url."https://github.com/".insteadOf "git@github.com:" | ||||
|     # If your submodules are configured to use SSH instead of HTTPS please uncomment the following line | ||||
|     # git config --global url."https://github.com/".insteadOf "git@github.com:" | ||||
|     auth_header="$(git config --local --get http.https://github.com/.extraheader)" | ||||
|     git submodule sync --recursive | ||||
|     git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Chris Patterson
						Chris Patterson