mirror of
				https://github.com/actions-rs/cargo.git
				synced 2025-10-31 16:23:50 +00:00 
			
		
		
		
	Fix for cross installation.
Do not exit immediately, if cross usage is required, but cross executable was not found before the installation.
This commit is contained in:
		
							parent
							
								
									eadeb9d8b9
								
							
						
					
					
						commit
						ae10961054
					
				
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -32,7 +32,6 @@ async function getCross(cargoPath: string): Promise<string> { | ||||
|         return await io.which('cross', true); | ||||
|     } catch (error) { | ||||
|         core.debug('Unable to find cross, installing it now'); | ||||
|         throw error; | ||||
|     } | ||||
| 
 | ||||
|     // Somewhat new Rust is required to compile `cross`
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user