mirror of
				https://github.com/dtolnay/rust-toolchain.git
				synced 2025-11-04 06:42:00 +02:00 
			
		
		
		
	Work around spurious network errors in curl 8.0
This commit is contained in:
		
							parent
							
								
									7a26acb927
								
							
						
					
					
						commit
						6f2eb0d01b
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -111,5 +111,13 @@ runs:
 | 
			
		|||
        fi
 | 
			
		||||
      shell: bash
 | 
			
		||||
 | 
			
		||||
    - run: |
 | 
			
		||||
        : work around spurious network errors in curl 8.0
 | 
			
		||||
        # https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/timeout.20investigation
 | 
			
		||||
        if rustc +${{steps.parse.outputs.toolchain}} --version --verbose | grep -q '^release: 1\.7[01]\.'; then
 | 
			
		||||
          echo CARGO_HTTP_MULTIPLEXING=false >> $GITHUB_ENV
 | 
			
		||||
        fi
 | 
			
		||||
      shell: bash
 | 
			
		||||
 | 
			
		||||
    - run: rustc +${{steps.parse.outputs.toolchain}} --version --verbose
 | 
			
		||||
      shell: bash
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue