mirror of
				https://github.com/actions-rs/toolchain.git
				synced 2025-10-31 16:53:53 +00:00 
			
		
		
		
	Missing rustup invocation
This commit is contained in:
		
							parent
							
								
									7d6ef4b233
								
							
						
					
					
						commit
						64f28e754d
					
				
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										26
									
								
								src/main.ts
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								src/main.ts
									
									
									
									
									
								
							| @ -92,19 +92,19 @@ async function run() { | ||||
| 
 | ||||
|     const rustup = await get_rustup(opts.name, opts.target); | ||||
| 
 | ||||
| //     await do_exec(rustup, ['toolchain', 'install', opts.name]);
 | ||||
| //
 | ||||
| //     if (opts.default) {
 | ||||
| //         await do_exec(rustup, ['default', opts.name]);
 | ||||
| //     }
 | ||||
| //
 | ||||
| //     if (opts.override) {
 | ||||
| //         await do_exec(rustup, ['override', 'set', opts.name]);
 | ||||
| //     }
 | ||||
| //
 | ||||
| //     if (opts.target) {
 | ||||
| //         await do_exec(rustup, ['target', 'add', '--toolchain', opts.name, opts.target]);
 | ||||
| //     }
 | ||||
|     await do_exec(rustup, ['toolchain', 'install', opts.name]); | ||||
| 
 | ||||
|     if (opts.default) { | ||||
|         await do_exec(rustup, ['default', opts.name]); | ||||
|     } | ||||
| 
 | ||||
|     if (opts.override) { | ||||
|         await do_exec(rustup, ['override', 'set', opts.name]); | ||||
|     } | ||||
| 
 | ||||
|     if (opts.target) { | ||||
|         await do_exec(rustup, ['target', 'add', '--toolchain', opts.name, opts.target]); | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| run(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user