mirror of
				https://github.com/actions-rs/cargo.git
				synced 2025-11-03 22:31:58 +02: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 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue