mirror of
				https://github.com/actions-rs/cargo.git
				synced 2025-10-31 23:43:49 +00: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
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user