mirror of
				https://github.com/actions-rs/cargo.git
				synced 2025-11-03 22:31:58 +02:00 
			
		
		
		
	Hardcode cross version (0.1.14) due to cross bugs in a newer version
This commit is contained in:
		
							parent
							
								
									9feb414324
								
							
						
					
					
						commit
						4630dea632
					
				
					 2 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -12,7 +12,10 @@ async function getCross(): Promise<string> {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    try {
 | 
			
		||||
        await exec.exec('cargo', ['install', 'cross']);
 | 
			
		||||
        // Latest `cross` (0.1.15) is kinda broken right now,
 | 
			
		||||
        // using hardcoded version till the fix lands
 | 
			
		||||
        // https://github.com/rust-embedded/cross/issues/306
 | 
			
		||||
        await exec.exec('cargo', ['install', '--version', '0.1.14', 'cross']);
 | 
			
		||||
    } catch (error) {
 | 
			
		||||
        core.setFailed(error.message);
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue